docmd.outputto causes query content to disappear

S

SQLPro

I'm using MS Access 2002. Using docmd.outputto in code to run a query and
put the results to Excel, the content of the actual query will disappear. It
will initially run okay but after a few iterations, I will lose the query
content and it will fail. Has anyone else experienced this problem and does
anyone have a clue as to how to prevent this from happening. Thanks.
 

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