Sizing a Form

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.
 
S

StCyrM

Hi Peggy

In the Form Open event simply type in the following:

DoCmd.Restore


Maurice
 
P

Peggy

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?
 
B

Bas Cost Budde

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

Top