Passing variable to sub-report

H

HeatherD25

Hi,

I have a form where the user selects a beginning and end date, and then they
pull up a report that filters the data based on the dates they select. I
also have a sub-report on this report that I need filtered with the dates.
How do I get this to work?

Thanks!
Heather
 
J

John W. Vinson

Hi,

I have a form where the user selects a beginning and end date, and then they
pull up a report that filters the data based on the dates they select. I
also have a sub-report on this report that I need filtered with the dates.
How do I get this to work?

Thanks!
Heather

Base the Subreport on a query referencing the form, would be the simplest way.

John W. Vinson [MVP]
 
H

HeatherD25

I have the sub-report using the same query as the main report. Is that what
you mean?
 
H

HeatherD25

Thanks -- that fixed it. I just between a between statement in the critieria
for the query on the variable I wanted to limit referencing the form.
Thanks!!!
 

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