Jack,
Hmmm, so tell us how you really feel? <grin>
--
Gina Whipp
2010 Microsoft MVP (Access)
"I feel I have been denied critical, need to know, information!" - Tremors
II
http://www.regina-whipp.com/index_files/TipList.htm
Jack Leach said:
Actually, the question should be why are your Users opening more then once
instance of the same database? Why isn't the form set up to allow them to
multi-task?
My sentiments exactly. I wasn't sure where I got the idea from, but I've
always felt that you're far better off if you only have one instance of
access open and running... I get very nervous when I run more than one.
Aside from that, developing with the usage of multiple instances of the same
app running leads to long workarounds and awkward code, such as we're seeing
here.
At one point a few months ago I was wondering about running two different
apps in access at the same time... our currently deployed copy that I use at
work for work, and opening the dev version at the same time. I posted the
question here and was given a few answers along the lines of "as long as you
are using currentdb and not DbEngine(0).(0) you should be fine..." Still
not
a fan.
Personally I haven't run into any situation where the developer can't
provide a main switchboard and have everything working independantly off of
that switchboard, allowing them to multitask however they like.. they'll
only
need one version of the switchboard open and can open whatever other forms
they like from there.
Another advantage to doing it like this: In some cases, you might not want
certain activities performed while certain other activities are pending.
Restricting the user the one instance of the app makes it expotentionally
easier to verify that some procedure can be run or form can be opened if you
might have a particular rule against it based on conditions in another form.
For instance, you might want to keep the user from generating an Invoice if
the PackingSlips have not yet been completed.
Anyway, yea... I would highly suggest avoiding multiple instances of the
app.
Just my 2 cents
--
Jack Leach
www.tristatemachine.com
"I haven''t failed, I''ve found ten thousand ways that don''t work."
-Thomas Edison (1847-1931)