|
AnyDAC
|
Specifies display format for numeric fields.
Use the FmtDisplayNumeric property to specify DisplayFormat property for TNumericField descendants (ftInteger, ftLongWord, ftSmallint, ftShortint, ftByte, ftLargeint, ftWord, ftAutoInc, ftFloat, ftSingle, ftCurrency, ftExtended, ftBCD, ftFmtBCD) dataset fields.
The option will be applied only to default fields or to persistent fields at the create time only. For format details see TNumericField.DisplayFormat.
property FmtDisplayNumeric: String;
ADQuery1.FormatOptions.FmtDisplayNumeric := '#,##0.';
|
What do you think about this topic? Send feedback!
|