This member function reads the current record.
BOOL ReadCurrRecord( CCeDBRecord* pRecord, int nNumFilterProps = 0, CCeDBProp *PropFilterArray = NULL );
Header file: | Wcedb.h |
Platforms: | |
Versions: | 2.0 and later |
TRUE if the record was successfully read. FALSE if there was an error. Call ::GetLastError to determine why the operation failed. This member function also returns FALSE if the m_bEOF data member has been set to TRUE during this call.
If you do not pass in an array of properties, this function will read the entire current record.
If the m_bAutoSeekNext data member is set to TRUE, ReadCurrRecord calls the member function SeekNext after reading the current record. If SeekNext advances the current position past the end of the database, the m_bEOF data member is set to TRUE.
The memory allocated for the record's properties, and their associated CEBLOBs and strings, is released when the record is destroyed.
CCeDBDatabase Overview, CCeDBDatabase Member Functions, Windows CE Database Classes, CCeDBDatabase::m_bAutoSeekNext, CCeDBDatabase::m_bEOF, CCeDBDatabase::SeekNext, CCeDBDatabase::WriteCurrRecord, CCeDBProp::CCeDBProp, ::GetLastError