Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MS Access 2010 - Print to PDF

Posted on 2010-09-13
4
Medium Priority
?
720 Views
Last Modified: 2012-05-10
In Access 2010 (and with a 2007 plug-in I believe) you now have the ability to directly create PDFs from forms and reports by using the 'External Data' tab on the ribbon.  I see no macro or VBA commands to automate this.  Am I missing something?
0
Comment
Question by:AdamKarp
  • 2
4 Comments
 
LVL 21

Expert Comment

by:chapmanjw
ID: 33667239
0
 

Author Comment

by:AdamKarp
ID: 33667312
I currently have a solution like the one posted above in place.  My current solution has dependencies on Acrobat Standard and some other DLL files.  As we upgraded to Access 2010, it stopped working properly.  Instead of troubleshooting, I was hoping to get rid of all the dependencies and have PDF functionality handed inside of Access.  Obviously Access 2010 can do it manually, but can we automate it?    
0
 
LVL 21

Accepted Solution

by:
chapmanjw earned 400 total points
ID: 33667348
0
 
LVL 19

Assisted Solution

by:Eric Sherman
Eric Sherman earned 100 total points
ID: 33667447
This is how I do it in Access 2007 ... Just replace the parameters with your actual report name and file name including the complete file path.

DoCmd.OutputTo acOutputReport, "YourReportName", acFormatPDF, strFilename, , , , acExportQualityPrint


ET
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question