ACC2000: How to Create a Line That Can Shrink and Grow in a Report (197595)
The information in this article applies to:
This article was previously published under Q197595 Advanced: Requires expert coding, interoperability, and multiuser skills.
SUMMARY
The detail section of a report can grow and shrink vertically if you set
its CanGrow and CanShrink properties to Yes. However, line controls do not have these properties and cannot grow or shrink as the detail section does. This article demonstrates how to use the Line method to draw a line that can grow and shrink as the detail section does.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. REFERENCESFor more information about the Line method, click Microsoft Access Help on the Help menu, type Line method in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about using the Line method to draw rectangles, please see the following article in the Microsoft Knowledge Base:
210321 ACC2000: How to Shrink and Grow a Rectangle in a Report
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdta kbhowto kbofficeprog kbProgramming KbVBA KB197595 |
---|
|