CCeDBDatabase::SeekNext

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

Syntax

CEOID SeekNext( );

At a Glance

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

Return Values

The object identifier of the next 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 next record.

This is the only function that sets the m_bEOF data member to TRUE when it encounters the end of the database.

See Also

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