CString GetCurrentIndex( );
throw( CDaoException, CMemoryException );
Return Value
A CString containing the name of the index currently in use with a table-type recordset. Returns an empty string if no index has been set.
Remarks
Call this member function to determine the index currently in use in an indexed table-type CDaoRecordset object. This index is the basis for ordering records in a table-type recordset, and is used by the Seek member function to locate records.
A CDaoRecordset object can have more than one index but can use only one index at a time (although a CDaoTableDef object may have several indexes defined on it).
For more information about finding records, see the article DAO Recordset: Recordset Navigation in Visual C++ Programmer's Guide. For related information, see the topic "Index Object" and the definition "current index" in DAO Help.
CDaoRecordset Overview | Class Members | Hierarchy Chart
See Also CDaoRecordset::SetCurrentIndex