Error Number 2046 with Lebans Convert Snapshot to PDF Module

A

Alan

Can anyone help. I am using Stephen Lebans Snapshot Conversion to PDF code
and am getting an error 2046 "The command or action'OutputTo' isn't
available now."

I am using the conversion utility in a loop to generate statements for my
clients. The code works fine the first time that it does the statement run.
If the database is closed and then re-opened this error re-occurs. I have
tried compacting and repairing as well as recompiling the code but each time
I have to re-import the "modReportToPDF" from Lebans database and then
recompile b4 it will work. Any ideas?

Many thanks
Alan
 
S

Stephen Lebans

This error is Access telling you that it is unable to Export the report to
Snapshot format at this particular time. It's a focus(which window is
currently active) issue and really has nothing to do with my code.
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

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