Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 208430 - Last Review: July 15, 2004 - Revision: 1.1
ACC2000: Form Size Changes Not Retained
This article was previously published under Q208430
Novice: Requires knowledge of the user interface on single-user computers.
If you change the size of a form in Design view, and then save and close
the form, when you open the form from the Database window, the size of the
form will not reflect the changes that you made.
You sized the window that contains the form, not the form itself. A form
has its own dimensions, independent of the size of the window that the form
is displayed in. This way, the form can be printed correctly, no matter what size the window is.
There are several methods for changing a form's size, including the
following:
- Set the form's AutoResize property to No. This will cause the Form window to open to the size that you set it to, rather than snapping to the size of the form contained within it.
- Set the form's Width property to the width that you want.
- Set the form section's Height property to the height that you want for that section.
- Use the mouse to drag the right side of the form to make the form the
width that you want.
- Use the mouse to drag the bottom of the form or section to make the form or section the height that you want.
Note that you cannot size the width of the form narrower than the reach of
the rightmost control on the form. You cannot size the height of a section
shorter than the reach of the last control in the section.
NOTE: If you view the form in Form view directly from Design view, the Form window will remain the same size it was in Design view. You can force the Form window to snap to the size of the form by clicking
Size To Fit Form on the
Window menu when you are viewing the form in Form view.
If you open the form in Form view from the Database window, the Form window
will snap to the size of the form automatically.
Steps to Reproduce Behavior
- Create a new, blank form. Note that the white area of the detail section is 5 inches wide and 1 inch tall.
- Drag the Form window to make it narrower than 5 inches wide.
- Save the form with any unique name, and then close the form.
- In the Database window, select the form and then click Open.
The form opens 5 inches wide and 1 inch tall.
For more information about sizing forms, click
Microsoft Access Help on the
Help menu, type
size a form to fit its contents. in the Office Assistant or the Answer Wizard, and then click
Search to view the topic.
APPLIES TO
- Microsoft Access 2000 Standard Edition
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate