Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Suppressing visibility on a sub report based on content of sub report


Suppressing visibility on a sub report based on content of sub report

Author
Message
julia.streatfield
julia.streatfield
SSC Rookie
SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)

Group: General Forum Members
Points: 30 Visits: 110
Hi, I've got a 2012 report (using Visual Studio 2010) written for Dynamics CRM 2011. Main report contains organisation (account) and contact data, then there a bunch of sub reports containing information from various customised entities, but where the status of the data in the customised entity is Active. All well and good, but when I run the report, if the sub report is empty, there is a blank space on the main report. I've tried including a left join on the main report to each entity the SR uses, then adding the Status for each to the main report, and hiding row visibility on the sub report where status <> active which worked. But as soon as I started adding test data to each of the entities, making active records deactive (which continued to work), then creating new active records - the new data did not appear in the main report. I guess if I have multiple rows returned in the main report where the first row (eg committee status) for a record is not active, even though the next one may be active, it takes the first result and continues to suppress visibility of the data. I have put a count on the sub report but is it possibe to reference this count in the main report where I want to suppress row visibility based on count <1? Or even another way to suppress visibility of a sub report? Sorry for the long explanation, hope it's clear and someone out there can help an SSRS newbie!
Thanks in advance
Jules
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search