dbGetNext |
Top Previous Next |
Syntax INT = dbGetNext(hstmt as INT) Description Gets the next record from a result set. Parameters hstmt - Statement handle returned by dbExecSQL or dbPrepareSQL. Return value TRUE if the record was retrieved and any bound variables filled in with column data. FALSE if the end of the result set was reached or there were no records in the result set. Remarks dbGetNext and dbGetPrev may not work with all database drivers, some text based drivers only support sequential access with the dbGet command. In all other cases there is no difference from using dbGet or dbGetNext. A column that is nullable and currently set to NULL can be determined by dbIsNull after a dbGet operation. A NULL value can also be determined by checking the optional 'pReturn' variable used when binding the column with dbBindVariable. See Also: dbGetPrev, dbExecSQL, dbPrepareSQL, dbGet Example usage hstmt = dbExecSQL(pdb,"SELECT * FROM Addresses") |