CDaoRecordset::CanRestart

BOOL CanRestart( );
throw( CDaoException, CMemoryException );

Return Value

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

Remarks

Call this member function to determine whether the recordset allows restarting its query (to refresh its records) by calling the Requery member function. 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 more information about working with DAO objects, see the article DAO: Creating, Opening, and Closing DAO Objects in Visual C++ Programmer's Guide. For related information, see the topic "Restartable Property" in DAO Help.

CDaoRecordset OverviewClass MembersHierarchy Chart

See Also   CDaoRecordset::CanAppend, CDaoRecordset::CanBookmark, CDaoRecordset::CanScroll, CDaoRecordset::CanTransact, CDaoRecordset::CanUpdate