This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v19.8
dataClassAttribute.mandatory

dataClassAttribute.mandatory 


 

dataClassAttribute.mandatory -> mandatory 
Parameter Type   Description
mandatory  Boolean in True if Null values are rejected

The dataClassAttribute.mandatory contains True if Null value input is rejected for the attribute. 

This property is not returned if dataClassAttribute.kind = "relatedEntity" or "relatedEntities".

Note: For generic programming, you can use Bool(dataClassAttribute.mandatory) to get a valid value (false) even if mandatory is not returned. 

Warning: This property corresponds to the "Reject NULL value input" field property at the 4D database level. It is unrelated to the existing "Mandatory" property which is a data entry control option for a table. 

 
PROPERTIES 

Product: 4D
Theme: ORDA - DataClassAttribute

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v17 R5

 
ARTICLE USAGE

4D Language Reference ( 4D v19)
4D Language Reference ( 4D v19.1)
4D Language Reference ( 4D v19.4)
4D Language Reference ( 4D v19.5)
4D Language Reference ( 4D v19.6)
4D Language Reference ( 4D v19.7)
4D Language Reference ( 4D v19.8)