TAdsTable.AdsGetNumFields

Advantage TDataSet Descendant

Retrieves the number of fields in the given table.

Syntax

function AdsGetNumFields : Word;

Description

The returned field count does not include the deleted byte.

Example

AdsTable1.Active := TRUE;

wNumFields := AdsTable1.AdsGetNumFields;

wFieldCount := AdsTable1.FieldCount;

{ wNumFields is equal to the wFieldCount because both methods are identical }

See Also

AdsCreateTable

AdsGetFieldName