Conditionally hiding a group of fields
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?
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?
This discussion has been closed.
Comments
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com