CCeDBDatabase::SeekFirst

This member function positions the read/write pointer to the first 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 first 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 first record.

See Also

CCeDBDatabase Overview, CCeDBDatabase Member Functions, Windows CE Database Classes, CCeDBDatabase::Open, CCeDBDatabase::SeekLast, ::GetLastError