CDaoRecordset::GetBookmark
Call this member function to obtain the bookmark value in a particular record.
COleVariant GetBookmark( );
Return Value
Returns a value representing the bookmark on the current record.
Remarks
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.
Nota
Calling Requery changes DAO bookmarks.
For related information, see the topic "Bookmark Property" in DAO Help.
Requirements
Header: afxdao.h