Error Command or action 'ApplyFilterSort' isnt available now

I

Irina

I have the following code
DoCmd.OutputTo acOutputReport, "rptCountry", acFormatXLS,
"C:\CountryReport.xls"
that runs when a user clicks on a export button and I am getting this error
message:"Command or action 'ApplyFilterSort' isnt available now

The report has a query in it asking to input a country when the user types
the country the error comes up.
I can run the report with no issues, the filter works fine.
Can you help me with this?
thank you
 

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