True DataControl 8.0 Reference > Field Object > Field Object Properties > Required Property |
Sets/returns whether a field is mandatory, should not be left empty on data modification.
Field.Required = boolean
Read/Write at run time and design time. Property applies to Field object.
This property determines whether the field must be assigned an actual value when records are updated or added.
The default value is False, which means that a value need not be specified.
If set to True, an attempt to empty the field, or to update or add a record with this field empty will result in an error message.
For more information, see True DataControl Fields.