If you're using ADO, you can define a variant data type variable and then store the bookmark in it. Look in MSDN help under ADO and Bookmarks.