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

Skiping labels when ctLefttoRight is set

edited April 2004 in General
Hi,

I made a very simple 2 column report with the detail band being 1 inch high.
I put one item in the detail band and in the BeforePrint of the Detail if
put
in a simple if that if the field matched a value (that happens to be the 3rd
item)
then detail.visible:=false else Detail.Visible:=true;

When I run the report is puts in a blank label for this one. When I do it
with the traversal mode not as ctLeftToRight it works. Am I assigning
at the right event? I am in 7.03

Thanks,
Joseph Gordon

Comments

  • edited April 2004
    Hi Joseph,

    Instead of setting the entire detail band's visible property to False, try
    placing a TppRegion in the band with an invisible border and its ParentWidth
    and ParentHeight set to True and toggling its visibility. This should work
    a little nicer for left to right traversal.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2004
    Hi,

    That didn't really fix the problem. It is still leaving blanks in
    the middle. This happens even on a very simple 2 column
    report so I don't think its something I am doing. Is it suppose
    to work?

    Thanks,
    Joseph Gordon



  • edited April 2004
    Hi Joseph,

    If possible, please send a small example demonstrating this behavior in .zip
    format to support@digital-metaphors.com and I'll take a look at it for you.

    --
    Best Regards,

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