dbcanquery

Description

Cancel any rows pending from the most recently executed query.

Syntax

RETCODE dbcanquery(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

SUCCEED or FAIL.

The most common reasons for failure are a dead DBPROCESS or a network error.

Usage

See also

dbcancel, dbnextrow, dbresults, dbsetinterrupt, dbsqlexec