Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning to a specific control
Message
 
To
15/05/2002 15:02:08
Michael Shipley
Ks. Foundation For Medical Care, Inc.
Topeka, Kansas, United States
General information
Forum:
Visual Basic
Category:
Access
Miscellaneous
Thread ID:
00657087
Message ID:
00657437
Views:
33
Hi,

You may use form's Current event to store PK for currently selected record somewhere.
Then in form's load event you may re-trieve stored PK and position form's recordset on it.

Igor

>I have recently been handed over maintenance of an Access "tracking system", and need to make a requested change quickly. Currently, the application loads a form (with a subform) and when the subform area is double clicked, it fires the DoubleClick event and brings up an "edit entry" form. The problem is, after the user saves the changes, and closes the entry form, the application currently does a requery and then reloads the previous form.
>
>What the users want is for the last edited record to have focus when the form reloads. Is there a quick and dirty way that I can do this without rewriting everything?? I'm assuming that I will need to somehow save the record identifier before it loads the edit form, the perform a SetFocus on that control after the requery and form reload. Am I on the right track??
Igor Gelin
Database Developer
Previous
Reply
Map
View

Click here to load this message in the networking platform