dbnumcols

Description

Determine the number of regular columns for the current set of results.

Syntax

int dbnumcols(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 columns in the current set of results. If there are no columns, dbnumcols returns 0.

Usage

See also

dbcollen, dbcolname, dbnumalts