Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

How to use parameter range for subreports?

$
0
0

On the main report, I have two parameters for starting customer order number and ending customer order number.   I created the same parameters on the sub-report.  When I run the report, I use the 2 parameters with the starting customer order as 139818 and the ending customer order 139824.   The main report which is the customer order information prints correctly.   However, instead of getting one sub-report based on the first order which is 139818,  I get a sub report for every order in the range.   Then, the main report prints order 139819, and then repeats the sub-report loop for every order.  So, each time the main report prints, I get 7 sub-reports.   How do I link the main report to the sub-report so there is a one to one match so only one sub-report is generated per customer order?    

The design requirement is for the user to be able to enter a range of customer orders and then there is one main report and one sub-report per customer order.

I appreciate your response for answering this question.

Jeff


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>