start up options

L

linronamy

After using the start up wizard option I specified a form to open when I
opened Access. When I open it, the form I specified opens as expected but it
is not in the maximized view which is necessary due to size of the fields on
the form. I can't figure out how to get it maximized automatically. Any ideas
what I'm missing?
 
R

Rick Brandt

linronamy said:
After using the start up wizard option I specified a form to open when I
opened Access. When I open it, the form I specified opens as expected but it
is not in the maximized view which is necessary due to size of the fields on
the form. I can't figure out how to get it maximized automatically. Any ideas
what I'm missing?

If the AutoResize property of your form is set to Yes it should automatically
open to its full dimensions. If you actually want the form Maximized you can
use code in the form's Open event...

DoCmd.Maximize
 
R

Rick Brandt

linronamy said:
How do I get to the open event of the form? (novice grande)

Design view. Open property sheet. Go to Events tab. Find event property box
labeled "On Open". From list of drop down choices choose "[Event Procedure]"
then press the build button [...] to the right. The line of code goes in the
resulting VBA editor window between the two lines that will be automatically
created for you.
 
L

Larry Daugherty

Open the form in design view. View the properties, Events
Doublelclick on OnOpen. It will open the event code for the Open
event with your cursor in the code space. Type in the code your were
given.

HTH
 
Top