access 2003 startup option,can't display startup form in maximum v

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

Guest

Hi There,
I have a swirchboard that starts with a default form. I have selected in the
startup options area to automatically display this switchboard form. When the
file is opened is displays the switchboard form in a minimized view. I want
this to be set at the maximum window view. Does anyone have any ideas how to
achieve this?
Many Thanks
Regards
Allan
 
Add this line of code to the Event Procedure for the Load event of the form:
Private Sub Form_Load()
DoCmd.Maximize
End Sub

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

in message
news:[email protected]...
 
Thanks Allen
The line of code fixed my problem.


Allen Browne said:
Add this line of code to the Event Procedure for the Load event of the form:
Private Sub Form_Load()
DoCmd.Maximize
End Sub

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

in message
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top