Click or drag to resize

VoDbRecno Function

Return the current record number.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.10
Syntax
 FUNCTION VoDbRecno() AS DWORD
View Source

Return Value

Type: UInt32
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.
Remarks
VODBRecNo() is the same as RecNo().  See RecNo() for more information and examples.
Examples