AnyDAC
ContentsIndexHome
PreviousUpNext
TADFormatOptions.FmtEditNumeric Property

Specifies edit format for numeric fields.

Group
Links

Use the FmtEditNumeric property to specify EditFormat 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.EditFormat.

property FmtEditNumeric: String;
ADQuery1.FormatOptions.FmtEditNumeric := '0.';
What do you think about this topic? Send feedback!