dbmorecmds

Indicates whether there are more commands to be processed.

Syntax

RETCODE dbmorecmds ( PDBPROCESS dbproc );

Arguments
dbproc
Is the DBPROCESS structure that is the handle for a particular workstation/ Microsoft® SQL Server™ process. It contains all the information that DB-Library uses to manage communications and data between the workstation and SQL Server.
Returns

SUCCEED to indicate more results in the command batch; otherwise, FAIL.

Remarks

It should be called after dbnextrow returns NO_MORE_ROWS. If you know that the current command does not return any rows, you can call dbmorecmds after dbresults returns SUCCEED.

You can get the same information by calling dbresults until it returns NO_MORE_RESULTS.

See Also
dbcmdrow dbrows
dbnextrow dbrowtype
dbresults  

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.