AdsGetFieldLength

Advantage Client Engine

Retrieves the length of a field in a table

Syntax

UNSIGNED32

AdsGetFieldLength (ADSHANDLE hTable,

UNSIGNED8 *pucFldName,

UNSIGNED32 *pulLength);

Parameters

hTable (I)

Handle of table or cursor.

pucFldName (I)

Name of field.

pulLength (O)

Return field length.

Remarks

AdsGetFieldLength returns the length of the field in bytes. For memos, binary fields, and variable length character fields, this function will return the length of the portion stored in the record rather than the actual data length.

Example

Click Here

See Also

AdsGetFieldDecimals

AdsGetFieldName

AdsGetFieldNum

AdsGetNumFields

AdsGetBinaryLength

AdsGetMemoLength

AdsGetFieldType