Skip to content
Report-Designer

Growing text and conditional formatting

Fit long text in a report and control how bands and objects appear.

Fit text to its content

Turn on Can grow for a text or field object to wrap long values and make room for them in the band. Use Max lines to cap the height. Later rows move down as the band grows. The engine uses the same line breaks for preview, PDF, Word and Excel.

Turn on Stretch with band for boxes and lines that need to follow the band’s height. A horizontal line stays on the bottom edge. If a band grows taller than a page, the engine cuts it off at the bottom and Preview names the band in a warning.

Show and format objects with formulas

Set Visible when to an expression such as {Discount} > 0 on a band or object. A hidden band takes up no space. A band can also start a new page before or after it prints.

Use Rules to change formatting on text, fields, lines, boxes or table cells. For example, use {Amount} < 0 to show negative amounts in bold. Rules run in order. When two rules set the same property, the later rule wins.