DBPOSITION(dbName as Database, dbRecNo as Double, dbOffset as Integer)
Description
Positions the current database position to the record number as identified as dbRecNo and to the offset within the record as specified by dbOffset. The next DBGET or DBPUT will read or write data at this database position. If dbRecNo is greater than the current number of records, the database is expanded to have dbRecNo records. The database must have been previously opened with DBOPEN. Returns an integer result. See DBOPEN for a table of result codes.
Example
Dim res as integer
Res=DbPosition(OrderDb, 15, 20) 'Position to rec 15, offset 20.