Data.DB.TField.SetAsCurrency
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: protected | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TField |
Delphi
procedure SetAsCurrency(Value: Currency); virtual;
C++
virtual void __fastcall SetAsCurrency(System::Currency Value);
Description
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.