AnyDAC
ContentsIndexHome
PreviousUpNext
TADUpdateOptions.CheckRequired Property

Controls checking of TField.Required property.

Group
Links

Use the CheckRequired property value to control, should AnyDAC or not to use the TField.Required property to control field value requirement. The default value is True, for TADCustomMemTable it is False. 

The TField.Required will be used when CheckRequired is True. If at dataset Post call a field Required is True and a field value is Null, then exception will be raised.

property CheckRequired: Boolean;
What do you think about this topic? Send feedback!