Start up Form

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

Guest

I've used the startup feature to open my form when I start my database.

Unfortunately, it always opens the form in a small window. I want the form
to open to the whole screen.

I've dug for the answer in the books and it told me something about making
sure the window is how I want it, going into design view, out of design view,
then saving it. Well, I've done that numerous times and it still wants to
open small.

Please help.

Christian
 
There is probably an argument in the Startup for it but I use a macro named
Autoexec with Action to open form and second Action to maximize.
 
Christian, open your startup form in design view.

Open the Properties box. While looking at the properties of the form (not of
a control), choose On Open property on the Event tab, and set it to:
[Event Procedure]

Click the Build button (...) beside this.
Access opens the code window.

Add this line between the 2 others:
Private Sub Form_Open(Cancel As Integer)
DoCmd.Maximize
End Sub

This form will now maximize within the Access window, whenever it is opened.
 
Back
Top