Data.DB.TStringField.SetAsBCD
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: protected | |
| Source: Data.DB.pas Data.DB.hpp
| |
| Unit: Data.DB | |
| Parent: TStringField | |
Delphi
procedure SetAsBCD(const Value: TBcd); override;
C++
virtual void __fastcall SetAsBCD(const Data::Fmtbcd::TBcd &Value);
Description
Sets the value of the field with the given TBcd value.
SetAsBCD converts the input string to the corresponding BCD value. The BcdToStr function is used internally.