Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
COleVariant GetBookmark( );
throw( CDaoException, CMemoryException );
Return Value
Returns a value representing the bookmark on the current record.
Remarks
Call this member function to obtain the bookmark value in a particular record. When a recordset object is created or opened, each of its records already has a unique bookmark if it supports them. Call CanBookmark to determine whether a recordset supports bookmarks.
You can save the bookmark for the current record by assigning the value of the bookmark to a COleVariant object. To quickly return to that record at any time after moving to a different record, call SetBookmark with a parameter corresponding to the value of that COleVariant object.
For more information about finding records, see the article in Visual C++ Programmer's Guide. For related information, see the topic "Bookmark Property" in DAO Help.
CDaoRecordset Overview | Class Members | Hierarchy Chart
See Also CDaoRecordset::SetBookmark, CDaoRecordset::CanBookmark