Over the next few days we are going to start the migration to a new forum application. I'm going to start with high post count and active users. You may receive an invitation to the new forums. It's not spam. It's just me trying to seed the user base. My goal is to open it up over the weekend.

Once we open the site we'll block registrations here. We should be open shortly on the new site.

SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Subreport not filtering records
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

201 Posts

Posted - 11/26/2012 :  17:35:59  Show Profile  Reply with Quote
I have this subreport in the following environment:
1) Report is hosted on a .NET page (runs on client).
2) In the aspx page, there's one ReportViewer with two separate datsources, because subreport uses a different stored procedure.
3) The stored procedure for subreport does not take any parameters, but
4) The subreport has one parameter defined in the properties - which has its value as the ID field returned by the dataset. So I'm expecting the records returned by the stored procedure to be filtered by the parameter defined in subreports properties.

Problem: Subreports get all the data without filtering.

Any ideas what I'm missing?

Starting Member

1 Posts

Posted - 11/27/2012 :  18:18:47  Show Profile  Reply with Quote
see tablix properties of subreport.rdlc
select filter
Click Add to add a filter
In expression select the field that you want to filter
choose operator =
in value enter the subreport parameter
thats all

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000