This method positions the read/write pointer to the last record in the database.
Header file: | Wcedb.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 2.0 and later |
CEOID SeekFirst( );
The object identifier of the last 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 last record.
SeekLast does not set the m_bEOF data member to TRUE.
CCeDBDatabase::Open, CCeDBDatabase::SeekFirst, GetLastError