Solved

MS Access 2010 - Print to PDF

Posted on 2010-09-13
4
713 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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.

863 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

29 Experts available now in Live!

Get 1:1 Help Now