API:Data.DB.TBCDField.SetAsCurrency
Delphi
procedure SetAsCurrency(Value: Currency); override;
C++
virtual void __fastcall SetAsCurrency(System::Currency 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 Currency value.
Data.DB.TBCDField.SetAsCurrency inherits from Data.DB.TField.SetAsCurrency. All content below this line refers to Data.DB.TField.SetAsCurrency.
Sets the value of the field with the given Currency value.
Descendants of TField that represent Currency fields override the SetAsCurrency method to set the value of the field with the given Currency Value.
Trying to call the SetAsCurrency method raises an exception.