Start Up Form needs to open up maximised

G

Guest

Hi

I have the switchboard form opening up by default by going through the Tools
/ Start Up menu - though it always opens minimised, forcing the agents to
manually maximise the screen each morning. How do I get it to open up
maximised by default?

Thanks in advance
 
G

Guest

Thanks for being so prompt Allen - ummm - how do I find the "Load event of
the form" [New User I'm afraid]
 
D

Douglas J Steele

Open the form in Design mode, and look at its Properties window (you can
toggle the window on and off under the View menu). Look on the Event tab:
one of the entries will be "On Load". If it's blank beside that, put [Event
Procedure] (with the square brackets) in there. Click on the ellipses (...)
to the right, and that will take you to the event code. If you added the
event code, all you should see is:

Private Sub Form_Load()

End Sub

Put the line of code Allen suggest into that:

Private Sub Form_Load()

DoCmd.Maximize

End Sub


--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


Sue Compelling said:
Thanks for being so prompt Allen - ummm - how do I find the "Load event of
the form" [New User I'm afraid]
--
Sue Compelling


Allen Browne said:
Add:
DoCmd.Maximize
to the Load event of the form.
 
G

Guest

Hi,

I have a similar problem however it is with Access itself rather than the
forms inside my database. The database border is only open 50% with a
maximised screen inside. Is there any way in which I can get access to open
fully so it covers the whole of the screen and not just half of it?

Regards,

Kieron White

Douglas J Steele said:
Open the form in Design mode, and look at its Properties window (you can
toggle the window on and off under the View menu). Look on the Event tab:
one of the entries will be "On Load". If it's blank beside that, put [Event
Procedure] (with the square brackets) in there. Click on the ellipses (...)
to the right, and that will take you to the event code. If you added the
event code, all you should see is:

Private Sub Form_Load()

End Sub

Put the line of code Allen suggest into that:

Private Sub Form_Load()

DoCmd.Maximize

End Sub


--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


Sue Compelling said:
Thanks for being so prompt Allen - ummm - how do I find the "Load event of
the form" [New User I'm afraid]
--
Sue Compelling


Allen Browne said:
Add:
DoCmd.Maximize
to the Load event of the form.

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

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


I have the switchboard form opening up by default by going through the
Tools
/ Start Up menu - though it always opens minimised, forcing the agents to
manually maximise the screen each morning. How do I get it to open up
maximised by default?

Thanks in advance
 
D

Douglas J Steele

Take a look at http://www.mvps.org/access/api/api0019.htm at "The Access
Web"

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


Kieron White said:
Hi,

I have a similar problem however it is with Access itself rather than the
forms inside my database. The database border is only open 50% with a
maximised screen inside. Is there any way in which I can get access to open
fully so it covers the whole of the screen and not just half of it?

Regards,

Kieron White

Douglas J Steele said:
Open the form in Design mode, and look at its Properties window (you can
toggle the window on and off under the View menu). Look on the Event tab:
one of the entries will be "On Load". If it's blank beside that, put [Event
Procedure] (with the square brackets) in there. Click on the ellipses (...)
to the right, and that will take you to the event code. If you added the
event code, all you should see is:

Private Sub Form_Load()

End Sub

Put the line of code Allen suggest into that:

Private Sub Form_Load()

DoCmd.Maximize

End Sub


--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


Thanks for being so prompt Allen - ummm - how do I find the "Load event of
the form" [New User I'm afraid]
--
Sue Compelling


:

Add:
DoCmd.Maximize
to the Load event of the form.

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

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


I have the switchboard form opening up by default by going through the
Tools
/ Start Up menu - though it always opens minimised, forcing the
agents
to
manually maximise the screen each morning. How do I get it to open up
maximised by default?

Thanks in advance
 

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

Top