Advantage TDataSet Descendant
Retrieves the number of fields in the given table.
function AdsGetNumFields : Word;
The returned field count does not include the deleted byte.
AdsTable1.Active := TRUE;
wNumFields := AdsTable1.AdsGetNumFields;
wFieldCount := AdsTable1.FieldCount;
{ wNumFields is equal to the wFieldCount because both methods are identical }