CCeDBDatabase::SeekNext

This method positions the read/write pointer to the next 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 SeekNext( );

Return Values

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

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

See Also

CCeDBDatabase::m_bEOF, CCeDBDatabase::Open, CCeDBDatabase::SeekPrev, GetLastError