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

empty memo

edited June 2007 in General
Hello

i have a dbmemo that could be empty. Above the memo i placed a region.
The memo is shifted relative to the region. But if the memo is empty there
is still an empty line in my report. What could be the problem ?

Met vriendelijke groet, With kind regards,


Frank Beerens

Comments

  • edited July 2007
    Hi Frank,

    Try toggling the visibility of the memo object based on the whether there is
    data present and see if that removes the empty space you are seeing. Try
    using the Band.BeforePrint event to check the field value and set the
    DBMemo.Visible property accordingly.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2007
    i don't like coding in my reports. Isn't it possible to do it in the report
    itself.

    Frank

  • edited July 2007

    Using RB 10.06, I created a simple test report that contains a Region with
    Label inside the region and an empty Memo below it. The memo is configure to
    stretch and to shiftrelativeto the region. I do not notice any extra space
    occupied by the memo. In the design layout the memo is one inch tall, but in
    generation it collapses.

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.