RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFieldDef.Required Property

Indicates whether a value for the physical field in the underlying table is required.

Pascal
property Required: Boolean;
C++
__property Boolean Required;

Use Required to find out if a field in a dataset must have a value. If Required is true, the field must have a value. If Required is false, the field can be left blank. 

When adding field definitions to a dataset, set Required to specify whether blank values for the new field should be prohibited. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!