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

Conditionally hiding a group of fields

edited April 2003 in General
I have a report in which I want to optionally show a second line of data
from the same database record. The detail band is something like below:
Detail Band:
----------------------------------------------------------------------------
---------------
Datapipeline.Field 1 Datapipeline.Field2 Datapipeline.Field 3 //
This row always shows.
Datapipeline.Field4 Datapipeline.Field5 // This row conditionally
shows
----------------------------------------------------------------------------
---------------
I am currently setting the visible property in all the fields in the second
row to false, but I was wondering if there was a better way to do this. I
had thought putting a region around the second row and settings it's visible
property to false would do it, but no luck there.

Is there a slicker way to do this?

Comments

  • edited April 2003
    Kevin,

    Make sure the datafields are in the region. You can check this by dragging
    the region across the report and checking if the datafields move as well.
    Once they are in the region, setting its visibility to false should do the
    trick.

    --
    Best Regards,

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