Error Number 2046 with Lebans Convert Snapshot to PDF Module

  • Thread starter Thread starter Alan
  • Start date Start date
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
 
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.
 
Back
Top