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

DBMemo stretch

edited December 2009 in General
If you have a dbmemo with the stretch property on, then a region below
the memo that shifts relative to the memo, if there are no lines in the
memo, the region appears directly below the label that is above the
dbmemo. Is there a way to set a minimum height on the dbmemo so that if
the memo is blank, set it to this height, otherwise if there are lines
in the memo, stretch the memo like it normally does?

Comments

  • edited December 2009
    Hi Jeff,

    Try the following...

    Place the region where you would like it to print if the memo is not present
    in the band. Then, inside the Band.BeforePrint, check to see if the DBMemo
    field contains any information. If not, set the ShiftRelativeTo property of
    the Region to nil, otherwise, set it to the DBMemo.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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