return to same record after closing a form 
Author Message
 return to same record after closing a form

Hello everybody:

If I close a form, how do I reopen it on the same record I just left? I
tried remembering the record Number in the clipboard, but then GoToRecord
doesn't accept my clipboard as an argument, nor another record in a temp
table...
It's a persistance problem....

Any help would be greatly appreciated

Chaim



Tue, 01 Mar 2005 22:01:35 GMT  
 return to same record after closing a form
Chaim,

Have a look in the online Help for SaveSetting and GetSetting. These allow
you to save and retrieve values to/from the registry. You would need to
check these values in code before applying the forms' RecordSource (also in
code).

Graham R Seach
Microsoft Access MVP
Sydney, Australia


Quote:
> Hello everybody:

> If I close a form, how do I reopen it on the same record I just left? I
> tried remembering the record Number in the clipboard, but then GoToRecord
> doesn't accept my clipboard as an argument, nor another record in a temp
> table...
> It's a persistance problem....

> Any help would be greatly appreciated

> Chaim



Wed, 02 Mar 2005 21:43:34 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Return to Record After Closing and Re-opening Form

2. Popup form hangs on close when search fails to return any records

3. Close 2nd form and return to 1st form

4. Refresh form then go back to specific record on subform when closing a second form form

5. Records Returned in a Form Must Be Based on Key ID field on another form

6. Form to lookup record and return result to same form

7. Closing a form when other form is opening but reopening when all forms closed

8. Table (in form) Not Showing New Record Unless Close Form and Re-Op

9. Find Record in another open form and Close Form with call

10. Displaying a newly created record on Form 1 after closing Form 2


 
Powered by phpBB® Forum Software © phpBB Group