Data.Bind.DBScope.TCustomBindScopeDB.IsRequired

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source: Data.Bind.DBScope.pas
Unit: Data.Bind.DBScope
Parent: TCustomBindScopeDB

Delphi

function IsRequired(const AFieldName: string): Boolean;

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.

See Also