By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,124 Members | 1,746 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,124 IT Pros & Developers. It's quick & easy.

Open Form from Previous Navigated Form

P: n/a
Thank you in advance for any and all assistance. It is greatly appreciated.

Is there a way to know which form was navigated from when opening a form with a
command button, and then to renavigate back to the same form? I'm currently
using a macro that navigates back to a Main Form, but I would like to be able
to navigate back to the same form that was originally open. I would also like
to know is there code to check and see if the Main Form is open, and if not
open it, so the program isn't setting empty with NO form navigation available?
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
you can always leave the original form open, maximising the new one over it,
or store its name in a hidden field.

If you need some help on these methods, let me know.
---
Please immediately let us know (by phone or return email) if (a) this email
contains a virus
(b) you are not the intended recipient
(c) you consider this email to be spam.
We have done our utmost to make sure that
none of the above are applicable. THANK YOU
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.698 / Virus Database: 455 - Release Date: 03/06/2004
Nov 13 '05 #2

P: n/a
"WindAndWaves" <ac****@ngaru.com> wrote in
news:_s********************@news.xtra.co.nz:
you can always leave the original form open, maximising the
new one over it, or store its name in a hidden field.

If you need some help on these methods, let me know.

A better way is to change from macros to event procedures,
letting you pass the calling form's name in the openargs
parameter
The called form can then re-open its parent, if you've actually
closed it, or make it visible again if you've hidden it, which is
my preferred tactic.

Bob Quintal
---
Please immediately let us know (by phone or return email) if
(a) this email contains a virus
(b) you are not the intended recipient
(c) you consider this email to be spam.
We have done our utmost to make sure that
none of the above are applicable. THANK YOU
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.698 / Virus Database: 455 - Release Date:
03/06/2004


Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.