Advantage Client Engine
Retrieves the number of fields in the given table
UNSIGNED32 |
AdsGetNumFields (ADSHANDLE hTable, UNSIGNED16 *pusCount); |
hTable (I) |
Handle of table or cursor. |
pusCount (O) |
Return field count for given table. |
The returned field count does not include the deleted byte in DBF tables.
When using SQL statements the table handle parameter can be replaced with a cursor handle. In this situation AdsGetNumFields will return the number of columns in the rowset.