ACC2000: How to Shrink and Grow a Rectangle in a Report (210321)
The information in this article applies to:
This article was previously published under Q210321 This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
In a report, a text box can expand vertically if you set its CanGrow and CanShrink properties to Yes. Rectangles and lines, however, do not have these properties and cannot expand. To create a rectangle around a control that can grow or shrink, use the Line method to draw the rectangle.
REFERENCESFor more information about the Line Method, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type Line Method in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdta kbhowto kbofficeprog kbProgramming kbusage KB210321 |
---|
|