DbMoveFirst
ODBC function.
The DbMoveFirst function moves the read pointer to the first record of the dataset in use. Not available in WinTask Lite.
Syntax
DbMoveFirst()
or
Ret=DbMoveFirst()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.
DbMoveFirst() ' move read pointer to the first record.