Pass arguments through a report filter using a ADO Connection

A

Amp

Is it possible to pass arguments through a report filter using a ADO
Connection?

I typically see examples like this Filter = "Client Id = 1" but I want to
do something like Filter = "Order Number" and each time the code loops it
uses the order number of each record as the filter.

Here is the line of code I am getting errors with;

Reports("ORDERS REPORT").Filter = rst.Fields("Order Number").Value
 

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