CCeDBDatabase::SeekLast

This method positions the read/write pointer to the last record in the database.

At a Glance

Header file: Wcedb.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 2.0 and later

Syntax

CEOID SeekFirst( );

Return Values

The object identifier of the last record, or zero if the seek operation fails. To get extended error information, call GetLastError.

Remarks

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.

See Also

CCeDBDatabase::Open, CCeDBDatabase::SeekFirst, GetLastError