Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Collapsing the vertical lines
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00754568
Message ID:
00754590
Views:
19
You mentioned having vertical lines in the detail band .. this is probably the culprit. You may have told the "change order" object to remove if blank, but didn't tell the vertical line the same. You should set the Print When logic on the line if it needs to be removed .. and also change the line to "Stretch to the height of the band".

Give this a try and hopefully it will solve the problem.

Cathy



>I have two field objects on the detail band. One field object will only display the words, "Change Order 01" or soemthign similar if there has been a change order, otherwise, "" <-- nothing is displayed.
>
>I cannot seem to get the band to collapse down, as well as the vertical lines when there is nothing to print for the one field object that displays "Change Order 01".
>
>My exact code for this one 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' or whatever number it is, unless the PO_Suffix is other than "00". This works properly, but because I had to expand the height of the detail band in order to put in this 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.
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