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