Поделиться через


CRecordView::IsOnFirstRecord

Call this member function to determine whether the current record is the first record in the recordset object associated with this record view.

BOOL IsOnFirstRecord( );

Возвращаемое значение

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

Заметки

This function is useful for writing your own implementations of default command update handlers written by ClassWizard.

If the user moves to the first record, the framework disables any user interface objects you have for moving to the first or the previous record.

Требования

Header: afxdb.h

См. также

Основные понятия

CRecordView Class

CRecordView Members

Hierarchy Chart

CRecordView::OnMove

CRecordView::IsOnLastRecord

CRecordset::IsBOF

CRecordset::GetRecordCount