Stemdriller
Registered User.
- Local time
- Today, 23:19
- Joined
- May 29, 2008
- Messages
- 187
Try to get a report to save to PDF with Access 2007
Using the code below but it is erroring
DoCmd.OutputTo acOutputReport, "rptMAINREPORT", "PDF Format (*.pdf)", "C:/Transfer/" & PDFLink _
& ".pdf", False
The report I am trying to save as PDF is rptMAINREPORT and within that report is a textbox called PDFLink which has the contract number in.
So I am trying to save the Document as ContractNumber.pdf in a folder called Transfer on C.
Any ideas
Thanks
Using the code below but it is erroring
DoCmd.OutputTo acOutputReport, "rptMAINREPORT", "PDF Format (*.pdf)", "C:/Transfer/" & PDFLink _
& ".pdf", False
The report I am trying to save as PDF is rptMAINREPORT and within that report is a textbox called PDFLink which has the contract number in.
So I am trying to save the Document as ContractNumber.pdf in a folder called Transfer on C.
Any ideas
Thanks