Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Stretch a variable

edited April 2004 in General
I want to create a value for a ppVariable at run time which stretches based
on the number of lines that are concatenated, as in "value := field1+ #10
+field2+ #10 +field3+ #10 +field4". I have the ppVariable wordwrap = true. I
have the band height set to dynamic, but the ppVariable does not stretch..

Comments

  • edited April 2004
    Hi Rob,

    The TppVariable will only extend downward if an acutal wordwrap occurs and
    AutoSize is set to False, it will not stretch when a line feed symbol is
    encountered. Try using a TppMemo object instead of a variable with Stretch
    set to True. This should work better for your needs.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2004
    I am trying the same thing, on a footer band. But it will not allow me to
    make the band phDynamic and even though the memo field is set to stretch, it
    is not.

    -k-

  • edited April 2004
    Kumar,

    The page footer band is the only band that cannot be positioned or
    stretched. You will need to use a group footer band or the summary band to
    get this effect. See the following example for more information on how you
    might do this.

    http://www.digital-metaphors.com/tips/GroupFooterOnEveryPage.zip

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.