View Full Version : Causing form to open maximized always ???


Lon425
09-11-2000, 07:45 AM
How can I cause a form to open maximized each time it opens?
Thanks

fargos99
09-11-2000, 08:05 AM
In your database window click on the macro tab, then click the design button. In the top 'action' box click and select 'open form'
Next at the bottom of the window click in the form name box and select the name of your form. Below that in the 'view' box select Form.

Go back to the next box in the action column and in the next box down click and select 'maximise'.

Last be sure to save your macro as "autoexec"

then close your databse and reopen to test it

Richie
09-11-2000, 10:18 AM
use the following
Private Sub Form_Load()
DoCmd.Maximize
End Sub
You could also put it in the form open event.

Lon425
09-11-2000, 12:52 PM
Works great !
Thanks Richie.