CDaoRecordset::CanRestart

Call this member function to determine whether the recordset allows restarting its query (to refresh its records) by calling the Requery member function.

BOOL CanRestart( );

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

Nonzero if Requery can be called to run the recordset's query again, otherwise 0.

Заметки

Table-type recordsets do not support Requery.

If Requery is not supported, call Close then Open to refresh the data. You can call Requery to update a recordset object's underlying parameter query after the parameter values have been changed.

For related information, see the topic "Restartable Property" in DAO Help.

Требования

Header: afxdao.h

См. также

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

CDaoRecordset Class

CDaoRecordset Members

Hierarchy Chart

CDaoRecordset::CanAppend

CDaoRecordset::CanBookmark

CDaoRecordset::CanScroll

CDaoRecordset::CanTransact

CDaoRecordset::CanUpdate