My app is a Client/Server Collections system is as follows:
1. The user logs in and gets a list of people to call. When they select a
person, I have a MDI parent open and the MDI parent has various MDI children
options.
2. While the first MDI Parent is open, the user has the option to bring up
another person, thereby opening another MDI Parent/Child forms.
The issue is, whats the best way to maintain the inegrity of variables
within each MDI session. Right now I use Public variables in a module and
that of course does not keep varaible distinct between MDI Parents.
Thanks
I
--
Richard Grene
S4 Solutions, Inc,
________________________________
This mailbox protected from junk email by MailFrontier Desktop
from MailFrontier, Inc.
http://info.mailfrontier.com
"Armin Zingler" <az*******@freenet.de> wrote in message
news:uv*************@TK2MSFTNGP12.phx.gbl...
"S4" <rg****@nospams4si.com> schrieb If I declare the Public variable in a module, that variable would be
accessable from the MDI & Child forms. If I have more than 1 MDI
Parent open at the same time then the variables would be shared and
that is BAD. I need the variables in each MDI Parent/Child sessions
distinct from each other.
How did you managed to have multiple MDI parent forms in one single
application?
You now see why Modules can be a bad thing. Declare the variables in the
MDI parent as they obviously belong to the MDI parent. Pass them to the
child Forms when necessary. Perhaps you will have to redesign something
and
go the OOP way.
Armin