This member function searches for a record by index, either from the top or the bottom of the database, and positions the read/write pointer at that record's location.
CEOID SeekToIndex( DWORD dwCurrIndex, BOOL bFromEnd = FALSE );
Header file: | Wcedb.h |
Platforms: | |
Versions: | 2.0 and later |
The object identifier of the specified record, or zero if the seek operation fails. Call ::GetLastError to determine why the operation failed.
If the database was opened using a key sort property, the corresponding sort order is used to determine the record indexes.
This function never sets the m_bEOF data member to TRUE.
CCeDBDatabase Overview, CCeDBDatabase Member Functions, Windows CE Database Classes, CCeDBDatabase::Open, ::GetLastError