Sub - Report inheriting the Where clause

M

Martureo Bob

How can I have a sub-report inherit the "where" clause used on the
OpenReport method?

I asked this differently before, but this is my basic question. The "main
report" is properly being filtered --- but the subreport is not being
filtered.

Bob.
 
D

Duane Hookom

The only method that I use is to to place the criteria in the record source
of the subreport. This can be done with references to controls on forms or
changing the SQL proeperty of a saved query.
 
G

Guest

How are you linking the two reports? If the field being filtered on the main
report is used as part of the link to the subreport, the results should be
what 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