Data.Bind.DBScope.TCustomBindScopeDB.IsValidChar

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 IsValidChar(const AFieldName: string; const AChar: Char): Boolean;

Description

Indicates whether a particular character is valid for the field.

The IsValidChar method internally calls Data.DB.TField.IsValidChar to obtain whether a particular character is valid for the field. IsValidChar determines whether the character specified by AChar can appear in the text representation of the value of the field. The field is given through the AFieldName parameter.

See Also