Data.Bind.DBScope.TCustomBindScopeDB.IsRequired
Delphi
function IsRequired(const AFieldName: string): Boolean;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | Data.Bind.DBScope.pas | Data.Bind.DBScope | TCustomBindScopeDB |
Description
Specifies whether a non-blank value for a field is required.
The IsRequired method internally calls Data.DB.TField.Required to obtain whether a non-blank value for a field is required. The field is given through the AFieldName parameter.