Maximise Form to Full Screen Problem

A

Angeline

Hi,
I have been reading the posts to find some direction on how to maximise a
form to full screen on loading. I went into the form properties and on the
'on load' event I have the following:

Private Sub Form_Load()
DoCmd.Maximize

End Sub

However, upon saving closing and re-opening the form still does not maximise
to the full screen. Am I doing something wrong? Thank you so much for your
help
 
A

Angeline

Thanks so much Dirk, this worked perfectly :)

Dirk Goldgar said:
Unless it's a popup form, the form will only maximize to the size of the
Access application window, not to the full screen. Is that the problem,
that you want it to cover the whole screen, not just fill the Access window?
If so, you could set your form's PopUp property to Yes. Alternatively, you
could maximize the Access application window by adding the statement

RunCommand acCmdAppMaximize

to what you already have.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)
 

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