CRecordset::GetStatus

void GetStatus( CRecordsetStatus& rStatus ) const;

Parameters

rStatus

A reference to a CRecordsetStatus object. See the Remarks section for more information.

Remarks

Call this member function to determine the index of the current record in the recordset and/or whether the last record has been seen. CRecordset attempts to track the index, but under some circumstances this may not be possible. See GetRecordCount for an explanation.

The CRecordsetStatus structure has the following form:

struct CRecordsetStatus
{
    long m_lCurrentRecord;
    BOOL m_bRecordCountFinal;
};

The two members of CRecordsetStatus have the following meanings:

CRecordset OverviewClass MembersHierarchy Chart

See Also   CRecordset::GetRecordCount