4D v18

dataClassAttribute.mandatory

Home

 
4D v18
dataClassAttribute.mandatory

dataClassAttribute.mandatory 


 

   
Parameter Type   Description
dataClassAttribute.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

 
HISTORY 

Created: 4D v17 R5

 
ARTICLE USAGE

4D Language Reference ( 4D v18)