Output To request not available at this time.

S

Stephen sjw_ost

I am using the following to save a snapshot of a report.

DoCmd.OutputTo acReport, "IBSIWS_RECON", "SnapshotFormat(*.snp)",
"G:\OST\RECONDATABASE\ReconArchive\IBSIWS\" & "JAX_IBSIWS_RECON_" &
Format(Now, "mmddyy") & ".snp", False, "", 0

This code follows a print command for the same report. The problem I am
having is when the code gets to this part it gives a runtime error stating
the "Output To" request is not available at this time.
What might be causeing this and how can I correct?

Thanks in advance for any help.
Stephen
 
S

Stephen sjw_ost

This was occuring because my Database window was hiden. I used code to unhide
the Database window until the save function completed and then did a hide on
the Database window when the save function finished.
I found it wierd, but it worked.
 

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