BOOL CanBookmark( ) const;
Return Value
Nonzero if the recordset supports bookmarks; otherwise 0.
Remarks
Call this member function to determine whether the recordset allows you to mark records using bookmarks. This function is independent of the CRecordset::useBookmarks option in the dwOptions parameter of the Open member function. CanBookmark indicates whether the given ODBC driver and cursor type support bookmarks. CRecordset::useBookmarks indicates whether bookmarks will be available, provided they are supported.
Note Bookmarks are not supported on forward-only recordsets.
For more information about bookmarks and recordset navigation, see the articles Recordset: Bookmarks and Absolute Positions (ODBC) and Recordset: Scrolling (ODBC) in Visual C++ Programmer’s Guide.