Solved

MS Access 2010 - Print to PDF

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

773 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