Passing values to subreports

S

Sweetpea2U

I have a report with multiple subreports that was originally using one
selected value passed onto the subreports. Now I need to be able to select
multiple values to pass to the subreports. What is the most efficient way to
accomplish this with minimal input from the end user?

Right now the user can select the report from a list which just passes the
date to filter the report by. Now I need them to be able to select the date
and the city and then pass both values on to the subreports. Is there an easy
way to accomplish this in Access? I'm currently using Access 2003.

Thanks.
 
K

Klatuu

How are you passing the date?
If you are using the OpenArgs property, then you can format it so you can
separate it in the report's Open event.

Another method is to reference the form's controls from the report to get
the value you need.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top