Solved

MS Access 2010 - Print to PDF

Posted on 2010-09-13
4
717 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

617 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