CCeDBDatabase::SeekLast

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

Syntax

CEOID SeekFirst( );

At a Glance

Header file: Wcedb.h
Platforms:
Versions: 2.0 and later

Return Values

The object identifier of the last record, or zero if the seek operation fails. Call ::GetLastError to determine why the operation failed.

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 Overview, CCeDBDatabase Member Functions, Windows CE Database Classes, CCeDBDatabase::Open, CCeDBDatabase::SeekFirst, ::GetLastError