VirtualDAC
Retrieves the precision of a number field.
TCustomDADataSet
function GetFieldPrecision(const FieldName: string): integer;
Call the GetFieldPrecision method to retrieve the precision of a number field. FieldName is the name of an existing field.