Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bookmarks in subform

Status
Not open for further replies.

GummowN

Programmer
Jul 26, 2002
157
GB
I have a form which is used as a cosmetic surround for a datasheet subform. When I double click on a record a popup form is loaded where I can perform various tasks. On closing of this form the subform recalculates and takes me to the top of the list.

Is there anyway of preventing this and leaving me on the record I loaded the popup form from?

All help is appreciated
 
Your popup form must be somehow forcing a requery of the subform's underlying data.

Here is a way to reposition in Access 2K:
Code:
    'in your subform's double-click event
    Dim varBookmark As Variant

    varBookmark = Me.Bookmark
    'your popup form logic goes here
    Me.Bookmark = varBookmark
Jim Kraxberger
Developing Access solutions since 1995
jkraxberger@scp4me.com
 
Thanks, that sorted it OK.

Now I just cant get the MDE to compile but that is nothing new!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top