dbtabcount

Description

Return the number of tables involved in the current select query.

Syntax

int dbtabcount(dbproc)
 
DBPROCESS     *dbproc;

Parameters

dbproc

A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and server.

Returns

The number of tables, including server work tables, involved in the current set of row results.

dbtabcount will return -1 in case of error.

Usage

See also

dbcolbrowse, dbcolsource, dbqual, dbtabbrowse, dbtabname, dbtabsource, dbtsnewlen, dbtsnewval, dbtsput