(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