Returning to Last Active Form

Anauz

Registered User.
Local time
Today, 11:36
Joined
Nov 14, 2000
Messages
81
I have a form(User Details) which can be opened from several different froms. When i close the form(user Details) i want it to return to the form it was opened from....is this possible?
 
Just leave the form open that opens "User Details". "User Details" will open on top of the calling form and when you close "User Details" your form will be there.
 
An alternative method, if you do not want your calling form to be visible whilst the (UserDetails) form is in use, is to set the (callingform) to visible = false. You can do this in the (UserDetails) onopen or onactivate event.
Likewise when you leave the (UserDetails) form you make the (callingform) visible = true. You can do this in the (user details) forms onclose event
Hope this helps
Regards
Trevor from www.accesswatch.co.uk
 
To make Accesswatch's method work, you need to pass the name of the calling form to the called form via the openArgs property.
 

Users who are viewing this thread

Back
Top Bottom