GeorgeSalet
asked on
The Output To action was canceled?? in Access
I am trying to export a report to a pdf file, My code has worked flawlessly then all of a sudden I receive this error.
" The Output To action was canceled"
I tried running the report on 2 machines both accessing from same server
Here is my code:
Private Sub Command23_Click()
On Error GoTo Err_Command23_Click
DoCmd.OutputTo acOutputReport, "Services", acFormatPDF, CurrentProject.Path & "\myReport.pdf"
FollowHyperlink CurrentProject.Path & "\myReport.pdf"
Exit_Command23_Click:
Exit Sub
Err_Command23_Click:
MsgBox Err.Description
Resume Exit_Command23_Click
End Sub
Any suggestions??
Thanks
George
" The Output To action was canceled"
I tried running the report on 2 machines both accessing from same server
Here is my code:
Private Sub Command23_Click()
On Error GoTo Err_Command23_Click
DoCmd.OutputTo acOutputReport, "Services", acFormatPDF, CurrentProject.Path & "\myReport.pdf"
FollowHyperlink CurrentProject.Path & "\myReport.pdf"
Exit_Command23_Click:
Exit Sub
Err_Command23_Click:
MsgBox Err.Description
Resume Exit_Command23_Click
End Sub
Any suggestions??
Thanks
George
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
George