Anauz
11-20-2000, 07:06 AM
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?
|
View Full Version : Returning to Last Active Form Anauz 11-20-2000, 07:06 AM 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? Jack Cowley 11-20-2000, 10:01 AM 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. accesswatch 11-20-2000, 02:34 PM 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 (http://www.accesswatch.co.uk) Anauz 11-22-2000, 07:52 AM thanx guys Pat Hartman 11-22-2000, 08:04 PM To make Accesswatch's method work, you need to pass the name of the calling form to the called form via the openArgs property. |