I am not one to be able to give you authoritative advise, but look into the
.visible property of the form, and the possibility of creating methods on
the form which will enable it to be hidden without actually releasing them.
Once done, you may also be able to have a method to have the form "show"
itself. I am supposing that your data environments are not built in a way
that will make them crash with each other, by using the proper "alias" when
you call them.  Good luck with this, and keep me posted, as I am also
learning about all this. 

Others more versed in these matters will chip in, I'm sure.

PabloSr
------------------------------------------------------
Value, above all, persons, not things! Peace. 
Sobre todo, valora personas, no cosas!" Paz.
------------------------------------------------------


*   -----Original Message-----
*   From: [EMAIL PROTECTED] [mailto:profoxtech-
*   [EMAIL PROTECTED] On Behalf Of John J. Mihaljevic
*   Sent: Tuesday, January 02, 2007 1:19 PM
*   To: [EMAIL PROTECTED]
*   Subject: Saving and restoring data environments - and variables
*   
*   Hi all,
*   
*   In this project I'm working on, my users wanna be able to have
*   several forms
*   open at once.  For example, if they're in the Finished Goods form,
*   they may
*   wanna open up the Customers form.  If I open the Customers form and
*   then
*   close it, when I return to the Finished Goods form, the tables are
*   closed.
*   
*   What do I need to do to save the current environment when opening
*   another
*   form on top of one that's already open so I don't lose those open
*   tables?
*   I've looked at a number of things in the Help, but nothing I try
*   seems to
*   work.  Are there any particular settings I need to look into?
*   
*   Also, I have two variables I use in each form to keep track of
*   whether or
*   not I'm in adding mode or edit mode.  They're called Adding and
*   Editing.
*   When I open that second form then close it to return to the first
*   form
*   (which is still open), I lose Adding and Editing since I release them
*   when
*   closing each form.  I've looked into Public, Private and Local, but
*   am not
*   seeing the proper way to keep my Adding and Editing variables alive
*   and
*   unique to each form I have open.  What do I need to look for there?
*   
*   Thanks very much!
*   
*   John
*   "The difference between a successful person and others is not a lack
*   of
*   strength, not a lack of knowledge, but lack of will." - Vince
*   Lombardi
*   
*   * All mail scanned by Norton AntiVirus.  No AV software on your
*   computer?
*   Remove me from your address book, please.
*   
*   * Please respect my privacy.  Do not forward my address to anyone
*   else or
*   include me in emails sent to multiple recipients.  Use BCC.
*   
*   
*   
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to