Return the current record number.
XSharp.RT (in XSharp.RT.dll) Version: 2.2a
Syntax View Source
FUNCTION VoDbRecno() AS DWORD
public static uint VoDbRecno()
The current record number. If the work area contains a database file with 0 records, VODBRecNo() returns 1, BOF() and EOF() both return TRUE, and LastRec() returns 0.
If the record pointer is moved past the last record, VODBRecNo() returns LastRec() + 1 and EOF() returns TRUE. If an attempt is made to move before the first record, VODBRecNo() returns the record number of the first logical record in the database file and BOF() returns TRUE. If no database file is open, VODBRecNo() will return a 0.
VODBRecNo() is the same as RecNo(). See RecNo() for more information and examples.
Examples See Also