Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Periodic Problem

Status
Not open for further replies.

jameshall

Technical User
Jul 9, 2002
36
GB
Hello

My problem is the code below that writes a report to the c:

DoCmd.OutputTo acReport, "rptEmail", "SnapshotFormat(*.snp)", _
RptAddress, False, ""



Every so often (now) it fails to produce the report thus making it jump out of the module and skipping over some more code (to send an Email via a function call)

Does anyone spot the problem or have experienced this before, it has been going on for sometime!

Regards

jameshall
 
This is what I have used and never had a problem:

DoCmd.OutputTo acOutputReport, "rptEmail", "Snapshot Format", RptAddress
 
Thanks John

I'll change the code to that, i hope it puts that problem to rest.

regards

jameshall
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top