JayLink Posted June 1, 2007 Share Posted June 1, 2007 Hi there -- I understand how to return a value from a subreport to the master report. I also understand how to sum these return values. What I would like to do, however, is to have a list of subreport totals in my master report's summary. For example, let's say I have customers in three cities: Chicago, London, and Milan, and I call the subreport once for each city. Each time it is run, I will return the number of customers in that city. So, let's pretend that I have 6 customers in Chicago, 3 in London, and 4 in Milan. I don't just want the number 13. Instead, I want my master report's summary to say: Chicago: 6London: 3Milan: 4 Total: 13 Ideally, I would prefer not to have another subreport in the Summary, because the query is complex and takes several minutes to run. Can I store the return value from each subreport's query separately somehow? When I try this, I just seem to end up with the last subreport's value in all of my variables. Thanks so much, - Jay Post edited by: JayLink, at: 2007/05/31 19:16Post edited by: JayLink, at: 2007/05/31 19:17 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now