AdsGetFieldDecimals

Advantage Client Engine

Retrieves decimals (for numerics) of a field in a table

Syntax

UNSIGNED32

AdsGetFieldDecimals (ADSHANDLE hTable,

UNSIGNED8 *pucFldName,

UNSIGNED16 *pusDecimals);

Parameters

hTable (I)

Handle of table or cursor.

pucFldName (I)

Name of field.

pusDecimals (O)

Return field decimals.

Remarks

AdsGetFieldDecimals returns the number of digits of decimal precision in the field to the right of the decimal point in a numeric field.

Example

Click Here

See Also

AdsGetFieldLength

AdsGetFieldName

AdsGetFieldNum

AdsGetFieldType

AdsGetNumFields