Home
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
 
 
Old Pages
 
Old Index
Site Map
What's New
 
Books
How To
Tips & Tricks
Tutorials
Stories
Performance
Essays
Links
Q & A
New in VB6
Free Stuff
Pictures
 
 
 
 
 
 
 
TitleSet and use a bookmark in the DBGrid control
KeywordsDBGrid, bookmark
CategoriesControls
 
Store the DBGrid's Bookmark property in a Variant variable. Later set its Bookmark property to this variable to return the underlying Recordset to that record.
 
Private m_SavedBookmark As Variant
    :
' Save the bookmark.
m_SavedBookmark = DBGrid1.Bookmark
    :
' Restore the bookmark.
DBGrid1.Bookmark = m_SavedBookmark
 
For information on building your own ActiveX controls, see my book Custom Controls Library.
 
 
Copyright © 1997-2001 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated