API:Data.DB.TBCDField.SetAsBCD
Delphi
procedure SetAsBCD(const Value: TBcd); override;
C++
virtual void __fastcall SetAsBCD(const Data::Fmtbcd::TBcd &Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Data.DB.pas Data.DB.hpp |
Data.DB | TBCDField |
Description
Sets the value of the field with the given TBcd value.
Data.DB.TBCDField.SetAsBCD inherits from Data.DB.TField.SetAsBCD. All content below this line refers to Data.DB.TField.SetAsBCD.
Sets the value of the field with the given TBcd value.
Descendants of TField that represent TBcd fields override the SetAsBCD method to set the value of the field with the given TBcd Value.
Trying to call the SetAsBCD method raises an exception.