Sizing a Form

  • Thread starter Thread starter Peggy
  • Start date Start date
P

Peggy

When my user opens a form I want it sized just right on
the screen so they don't have to scroll to see the bottom
of the form. It doesn't seem to matter if I size it in
desning view or form view, when I leave the form and come
back to it, there it is again. Too large for the screen
and the user has to scroll to see the bottom.
 
Hi Peggy

In the Form Open event simply type in the following:

DoCmd.Restore


Maurice
 
I open the form in Design view. In the form properties
window I selected "Event". In event in the "On open" I
typed DoCmd.Restore. I got the error message 'Microsoft
can't find the Macro DoCmd. What have I done wrong?
 
Peggy said:
I open the form in Design view. In the form properties
window I selected "Event". In event in the "On open" I
typed DoCmd.Restore. I got the error message 'Microsoft
can't find the Macro DoCmd. What have I done wrong?

The property must read [Event Procedure]; then click the three dot
button and type the code you received.
 

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