westchamp24
New member
- Local time
- Today, 13:45
- Joined
- Sep 19, 2007
- Messages
- 4
I am trying to run a subreport for every record in a main report. How can I pass a parameter from the main report query to the subreport query. The way I have it set up now, the subreport prints the desired fields for ALL records in the main report for each record in the main report.
I don't know if that made any sense, so I'll try to give an example of what I am looking for. My main report prints a record for every state, and related info such as capital, population, size...etc. For each record in the main report(state), I want to run a subreport that prints cities of that state. Right now, my subreport prints all U.S. cities for each state, not the state specific cities.
I don't know if that made any sense, so I'll try to give an example of what I am looking for. My main report prints a record for every state, and related info such as capital, population, size...etc. For each record in the main report(state), I want to run a subreport that prints cities of that state. Right now, my subreport prints all U.S. cities for each state, not the state specific cities.