CCeDBDatabase::SeekToRecord

This member function searches for the record specified by CeOID, and positions the read/write pointer at the location of the specified record.

Syntax

CEOID SeekToRecord( CEOID CeOID );

At a Glance

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

Parameters

CeOID
The object identifier of the record for which to search.

Return Values

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

Remarks

This function never sets the m_bEOF data member to TRUE.

See Also

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