CDaoRecordView::IsOnFirstRecord

BOOL IsOnFirstRecord( );

Return Value

Nonzero if the current record is the first record in the recordset; otherwise 0.

Remarks

Call this member function to determine whether the current record is the first record in the recordset object associated with this record view. This function is useful for writing your own implementations of the default command update handlers written by ClassWizard.

If the user moves to the first record, the framework disables any user interface objects (for example, menu items or toolbar buttons) you have for moving to the first or the previous record.

CDaoRecordView OverviewClass MembersHierarchy Chart

See Also   DaoRecordView::IsOnLastRecord