I have a complex report (SSRS 2008R2) that consists of two parts: 1. Invoice page 2. Detaiil page
When the detail page is empty, I still want to display the Invoice, but hide the details. For the header I was using a reference to ReportItems!EmptyBatch.Value. This worked when used by itself, however space is allocated for the empty table which leaves a blank page. This cannot be handled by ConsumeContainerWhitespace as it has the space allocated for the tablix.
For the body, I was using a reference to Fields!EmptyBatch.Value to hide the tablix. This worked by itself, however, since the tablix is now hidden totally, it cannot be referenced with the ReportItems!EmptyBatch.Value being used by the header. This results in the header reappearing when the tablix is hidden. Since the header references other ReportItems to display dynamically, I'm left with a few hard-coded pieces of the header on an otherwise blank pae.
To make matters more challenging, this report runs on multi-valued parameters and can be processed for several selections at a time.
Aside from looking for a softer spot on the wall to bang my head, what can I do to accomplish my goal of skipping the detail page and moving to the next selection when there is a zero valued Invoice. (P.S. The Invoice and details are populated by a single stored procedure.)
Thanks in advance!