dbclrbuf

Description

Drop rows from the row buffer.

Syntax

void dbclrbuf(dbproc, n)
 
DBPROCESS*   dbproc;
DBINT                 n;

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.

n

The number of rows you want cleared from the row buffer. If you make n equal to or greater than the number of rows in the buffer, all but the newest row will be removed. If n is less than 1, the function call is ignored.

Returns

None.

Usage

See also

dbgetrow, dbnextrow, dbsetopt, Options