Data.DB.TField.SetAsBoolean
Delphi
procedure SetAsBoolean(Value: Boolean); virtual;
C++
virtual void __fastcall SetAsBoolean(bool Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Data.DB.pas Data.DB.hpp |
Data.DB | TField |
Description
Sets the value of the field with the given Boolean value.
Descendants of TField that represent Boolean fields override the SetAsBoolean method to set the value of the field with the given Boolean Value.
Trying to call the SetAsBoolean method raises an exception.