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;
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|