<< Return to Main Index

< Return to Class Index

CGXDBEngine::FetchRecords

virtual void FetchRecords(long nRecords) = 0;

nRecords

The minimum number of records that should have been fetched (1 based).

Remarks

Call this function to make sure that at least a minimum of nRecords have been fetched.

The engine should in turn fetch more records if nRecords were not available. However it fetches a minimum of m_nIncrement records during each fetch.

GetRecordCount returns the number of records fetched so far. To know if all the records have been fetched call IsEOFSeen.

Call it with LONG_MAX to fetch all the records.


See Also

CGXDBEngine::m_nIncrement CGXDBEngine::GetRecordCount CGXDBEngine::IsEOFSeen

CGXDBEngine

Class Overview | Class Members