Options:
1. error handler code
2. create your own popup for selecting file format - assign user choice to a variable and use that variable in the OutputTo command
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
I put acformatPDF
Where would I put error handler code? This will be my first error handler
This is under my command button click
[Select Case Me.ComboSummary
Case "Comptroller"
DoCmd.OutputTo acOutputReport, "Comptroller September Report", acFormatPDF, "", False, "", 0
End Select]
If you specify the output file format, error handler should not be needed.
Here is an article for review http://allenbrowne.com/ser-23a.html
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Right ok thank you