I want my report to change each time I filter my table.

J

Judy

Every time I filter my table, the report never automatically updates. Is
there an automatic way to make the report update?
 
R

Rick Brandt

Judy said:
Every time I filter my table, the report never automatically updates.
Is there an automatic way to make the report update?

Reports have their own filtering. How you appply filters to the table
directly has no bearing on the report at all.

The most common thing to do is to open the report from VBA code using the
OpenReport method. That method has an optional WHERE clause that can be
used to apply a filter to the report.

DoCmd.OpenReport "Sales", acViewPreview,,"OrderNumber = 123456"
 
J

Jeff Boyce

Judy

If you base your report on a query, could you use criteria in your query to
"filter" your report?

Regards

Jeff Boyce
<Access MVP>
 

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