Solved

MS Access 2010 - Print to PDF

Posted on 2010-09-13
4
712 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 100 total points
ID: 33667348
0
 
LVL 19

Assisted Solution

by:Eric Sherman
Eric Sherman earned 25 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

762 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now