Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I maximise the Access database window on startup? 1

Status
Not open for further replies.

sm9

Technical User
Dec 31, 2002
25
GB
Hi there,

I can use macros to maximise forms, tables, etc, but I can't figure out how to maximise the Access database window itself. I've got an AutoExec macro that opens the switchboard form on startup, and this form maximises to fit the window. But I'd also like the whole Access window to fit the screen. Any ideas?

Thanks for any help,

Ste
 
Use a short-cut icon to open the database. Have the properties of the short-cut to Run Maximized.
 
Thanks Doug, that's just what I needed.

Kind Regards,

Stephen
 

An additional option it to include in the autoexec a step to RunCode. Create a function called MaximizeAccess() that looks like this:

Public Function MaximizeAccess()

DoCmd.RunCommand acCmdAppMaximize

End Function
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top