Set filter of a subreport from a form

J

John

I cannot seem to figure out how to set a filter value of
not only the main report (which I can do), but I also have
two subreports that need that same filter when choosing a
selection from a form.


Thanks,
John
 
A

Allen Browne

Simplest is to base the subreport on a query that references the text box on
the form.

In the Criteria row of the subreport's query, under the relevant field,
enter something like this:
=[Forms][NameOfYourSubFormHere]![NameOfYourTextBox]
 

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