Print the column headings for rows returned from the server.
void dbprhead(dbproc) DBPROCESS *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.
None.
This routine displays, on the default output device and in a default format, the column headings for a set of query results. The format is compatible with the format used by dbprrow.
The application can call dbprhead once dbresults returns SUCCEED.
You can specify the maximum number of characters to be placed on one line through the DB-Library option DBPRLINELEN.
This routine is useful for debugging.
The routines dbsprhead, dbsprline, and dbspr1row provide an alternative to dbprhead and dbprrow. These routines print the formatted row results into a caller-supplied character buffer.
dbbind, dbnextrow, dbprrow, dbresults, dbspr1row, dbsprhead, dbsprline