Routines (alphabetical) > Object Classes > Miscellaneous Object Classes > IDLdbRecordset::CurrentRecord

# IDLdbRecordset::CurrentRecord

The IDLdbRecordset::CurrentRecord function method requests the current record number in a recordset. This method is driver-dependent. If the record number of the current record cannot be determined by the ODBC driver, this function returns a negative number.

Note: Because this function is driver-dependent, moving the cursor to the last record in a recordset will not necessarily allow you to determine the number of records in the recordset.

## Syntax

number = RSobj -> [IDLdbRecordset::]CurrentRecord()

## Arguments

None.

## Keywords

None.

## Version History

5.0 | Introduced