Anchoring startup page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone know how to anchor the startup form? I have set a form to load
on startup and it does fine, filling the entire page. All I have on this
form are control buttons for the user to launch either queries or reports.
There are no entry fields. When I execute one of the queries, using the
control button, and do all the save stuff, my Event closes the query, and
opens the main form again (same one from startup). When this happens, the
form reappears but does not take up the entire screen and looks like someone
grabbed the window and moved it down a little/minimized it. I've disabled
all the min/max and close buttons. Long story short, I'm trying to prevent
the user from ever having access to the toolkit by only giving them the
option of seeing this form or the subsequent action associated with the
control buttons.

Any assistance would be much appreciated. Thanks!
 
This is the one thing that IMHO Access does really wrong. It makes some
unreasonable assumptions regarding form position and size. I wish Access
would just leave it alone. But, the only thing you really can do is
remaximize the form when it is activated. Put the following line of code in
the Activate event of the form:
DoCmd.Maximize
 
You indicated that you were re-opening the first form when closing the
others. In most cases, simply closing the form you are on will return
you automatically to the form you were on previously.

But the docmd.maximize should cover you under almost any conditions.
 
Back
Top