Data.Bind.DBScope.TCustomBindScopeDB.IsRequired
Delphi
function IsRequired(const AFieldName: string): Boolean;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | protected | Data.Bind.DBScope.pas | Data.Bind.DBScope | TCustomBindScopeDB |
Description
Indique si une valeur non vide est obligatoire dans un champ.
La méthode IsRequired appelle en interne Data.DB.TField.Required pour savoir si une valeur non vide est obligatoire dans un champ. Le champ est donné par le paramètre AFieldName
.