Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shrinking the Detail Band
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00754655
Message ID:
00754699
Views:
15
Give this a try ... instead of one vertical line .. put two vertical lines on the report .. one for the top half and one for the bottom half. Change the Print When logic of the bottom one to match the logic that is suppressing the second object on the report.

Cathy


>(I put this back in here at UT a 2nd time, because I left out some possibly important information.)
>
>I have 2 field objects on the DETAIL Band. One field object displays the words, "Change Order 01" or something similar, if there has been a change order, otherwise, "" <-- nothing is displayed.
>
>I want to be able to shrink the DETAIL Band, as well as the vertical lines when there is nothing to print for the one field object that displays "Change Order 01".
>
>The code for this object is:
>
>
IIF(tmpPOReport.PO_SUFFIX = "00", "", "Change Order " + PO_Suffix)
>
>I set this object to "Remove Line if Blank", and it does not display the words 'Change Order 01', unless the PO_Suffix is other than "00". This works properly; however, because I had to expand the height of the detail band in order to put in this 2nd object, the height remains constant and doesn't shrink down, as I would like it to, when the PO_Suffix is equal to "00".
>
>If the above object disappears (Remove Line if Blank), why then does this detail band stay at the same height, thus wasting space? How can I get the one object to disappear and give up its space on the line? The other object that prints every time is the detail line item for the Purchase Order.
>
>New Information for VERTICAL LINES in DETAIL BAND:
>
>The Object position of the VERTICAL LINES is set to: FIX RELATIVE TO TOP OF BAND
>
>Stretch Downwards is set to: STRETCH RELATIVE TO HEIGHT OF BAND
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform