DbMoveNext

ODBC function.

The DbMoveNext function moves the read pointer to the next record of the dataset in use. Not available in WinTask Lite.

Syntax

DbMoveNext()
or
Ret=DbMoveNext()

Return value

Ret, numeric return code. If the move has been performed successfully, the function returns 0, otherwise use this return code for error management.

Example

 

DbConnect("DSN=gpao;PWD=SILOG") ' connection to ODBC database called gpao

DbSelect("SELECT * FROM Business",DYNASET) ' select all records in table Business.

DbMoveNext() ' move read pointer to the next record, (the 2nd record).