dbcolname

Description

Return the name of a regular result column.

Syntax

char *dbcolname(dbproc, column)
 
DBPROCESS     *dbproc;
int                       column;

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.

column

The number of the column of interest. The first column is number 1.

Returns

A CHAR pointer to the null-terminated name of the particular column. If the column number is not in range, dbcolname returns NULL.

Usage

See also

dbcollen, dbcoltype, dbdata, dbdatlen, dbnumcols