This method 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.
Header file: | Wcedb.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 2.0 and later |
CEOID SeekToIndex( DWORD dwCurrIndex, BOOL bFromEnd = FALSE );
The object identifier of the specified record, or zero if the seek operation fails. To get extended error information, call GetLastError.
If the database was opened using a key sort property, the corresponding sort order is used to determine the record indexes.
This method never sets the m_bEOF data member to TRUE.
CCeDBDatabase::Open, GetLastError