Create Report for Filtered Data

G

Guest

I filter a table using a form (openform "form name" , , , filtercriteria).
How can I put the filtered results into a report? Every time I try and create
a report, it does it for the whole table, not just the filtered portion.
Thanks!
 
D

Douglas J. Steele

Assuming you still have what was stored in filtercriteria, try:

DoCmd.OpenReport "report name" , , , filtercriteria
 

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