PRB: Cannot Shorten Report Bands of Wizard-Generated ReportsLast reviewed: February 4, 1996Article ID: Q143401 |
The information in this article applies to:
SYMPTOMSAfter a report has been generated using the Report Wizard, the report bands (Detail, Group or Page Header bands) act as if they cannot be shrunk above the position of a memo field or a long character field, even if the memo or long character field and its label has been deleted or moved.
CAUSEWhen other fields lie below the memo or long character field, the Report Wizard adds an invisible line below each memo field and long character field to control the floating characteristics of these fields and their labels.
RESOLUTIONIf it is necessary to edit a Wizard-generated report, ensure that the line below the memo or long character field is moved with these fields or is deleted from the report.
STATUSThis behavior is by design. The Report Wizard adds the invisible line below these fields that have a potential to grow and float to keep the labels positioned with their respective field.
MORE INFORMATIONThe Report Wizard should always add an invisible line below a memo or long character field when there are other fields are below these fields. The Report Wizard's apparent threshold width of the character field before placing a line underneath is around 60 to 65 characters. Of the three types of Report Wizards, the standard Report Wizard and the One-to-Many Report Wizard seem to exhibit this behavior most. In the standard Report Wizard, it is usually the Detail band that appears to not shorten. In the One-to- Many Report Wizard, it could be the Group Header, the Detail band, or both, depending on whether a memo or long character field is added to the respective band.
Steps to Reproduce Behavior
To find out where the lines are, choose Select All from the Edit menu, or use the mouse to draw and drag a selection box along the right edge of the report above the Detail band. The Select All method will select all controls on the report but should show the selection handles at either end of the line. They appear as small gray boxes at the left and right edges of the report. If you need to see the line, be sure the line is selected, and then choose Pen from the Format menu. Change the point size to something other than None. NOTE: It may be necessary to move the Detail band down to view the selection boxes of the line, especially if the Detail band was moved up against the invisible line in Step 8.
REFERENCESFor more information on designing reports and using the Report Designer, please see Chapter 9 in the "Visual FoxPro User's Guide."
|
Additional reference words: 3.00 3.00b VFoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |