M
Martureo Bob
I have an Access 2000 application with a front-end / back-end. All forms
are modal pop-ups that run maximized, being driven from buttons on the main
form. All forms, have control boxes and min/max/close buttons enabled.
When going form the main form to a secondary form, I always execute the
following sequence:
docmd.openform ...
docmd.maximize
me.visible = false
On the way back, I make the main form visible again in the secondary form's
onclose event.
This works fine and permits any of the forms to be minimzed by the user,
thus revealing the Windows Desktop (the Access Window is well hidden in the
background and is never seen).
Once in a while I have a problem when the back-end is on a server with a
wireless connection, especially when things are slow that day on the
internal network. The problem is the same whether there's only one user
logged on, or multiple users --- although with multiple users the LAN runs
slower and this problem is more noticeable.
Here's the problem.
When I issue the openform, obviously the main form continues execution to
the maximize, but the form may not even be in a shape just yet where it can
be maximized. The opening the form requires some data connections to be
established, sometimes the maximize doesn't do anything at all.
So I wind up with a modal pop-up form that's hidden! Obviously, that locks
everything up.
Is there some command I can put in between the "openform" and the "maximize"
so I can make sure the form is at least loaded before continuing.
Specifying "dialog" is definitely NOT what I want. Then I wouldn't continue
at all! I just want to ensure the form is actually loaded before
continuing.
Thanks!!!!
Bob.
are modal pop-ups that run maximized, being driven from buttons on the main
form. All forms, have control boxes and min/max/close buttons enabled.
When going form the main form to a secondary form, I always execute the
following sequence:
docmd.openform ...
docmd.maximize
me.visible = false
On the way back, I make the main form visible again in the secondary form's
onclose event.
This works fine and permits any of the forms to be minimzed by the user,
thus revealing the Windows Desktop (the Access Window is well hidden in the
background and is never seen).
Once in a while I have a problem when the back-end is on a server with a
wireless connection, especially when things are slow that day on the
internal network. The problem is the same whether there's only one user
logged on, or multiple users --- although with multiple users the LAN runs
slower and this problem is more noticeable.
Here's the problem.
When I issue the openform, obviously the main form continues execution to
the maximize, but the form may not even be in a shape just yet where it can
be maximized. The opening the form requires some data connections to be
established, sometimes the maximize doesn't do anything at all.
So I wind up with a modal pop-up form that's hidden! Obviously, that locks
everything up.
Is there some command I can put in between the "openform" and the "maximize"
so I can make sure the form is at least loaded before continuing.
Specifying "dialog" is definitely NOT what I want. Then I wouldn't continue
at all! I just want to ensure the form is actually loaded before
continuing.
Thanks!!!!
Bob.