RAD Studio VCL Reference
|
Represents the value of the BCD field as a Currency value.
property Value: Currency;
__property Currency Value;
Unlike other field types, the Value of a binary-coded decimal (BCD) field does not correspond to the physical format of the data that is stored in the underlying database table. The IDE does not have a native type for BCD. Therefore, TBCDField converts the data from a BCD value to a Currency value when it fetches the data from the database table, and converts it from a Currency value to a BCD value when it posts the data. For BCD fields, Value is the same as the AsCurrency property.
MyBCDField.Value := MyBCDField.Value;
MyBCDField->Value = MyBCDField->Value;
AsCurrency
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|