Solved

Access Report to PDF

Posted on 2011-09-08
7
284 Views
Last Modified: 2012-05-12
Hello Experts,

I have an Access application with all menus and toolbars disabled.  However, I need to give the user to convert certain Reports to PDF.

Is there a quick way of doing this, by enabling/creating certain toolbars, or a few lines of code?

Thank you.
0
Comment
Question by:APD_Toronto
  • 3
  • 3
7 Comments
 
LVL 11

Accepted Solution

by:
psantiangeli earned 250 total points
ID: 36505169
access version?
0
 
LVL 75

Assisted Solution

by:DatabaseMX (Joe Anderson - Access MVP)
DatabaseMX (Joe Anderson - Access MVP) earned 250 total points
ID: 36505219
If you are using A2010 ... it's easy:

    DoCmd.OutputTo acOutputReport, "rptPDFTest", acFormatPDF, "C:\rptPDFtTest.pdf", False


mx
0
 
LVL 75
ID: 36505278
If you are using A2007 or prior, this works great ... I have it in several apps:

http://www.lebans.com/reporttopdf.htm

mx
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

Author Comment

by:APD_Toronto
ID: 36505367
Its Access 2007
0
 

Author Comment

by:APD_Toronto
ID: 36505482
The default A2007 has a pdf button
0
 
LVL 75
ID: 36505545
With all due respect, the Accepted answer is not really an answer ... it's a Question ...

mx
0
 

Author Comment

by:APD_Toronto
ID: 36506116
Well, i found the answer on my own, but wanted to reward both participants, not myself
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

Suggested Solutions

Title # Comments Views Activity
Need to filter query and have subform updatable 2 28
Access 2016 - Labels prompt to print 4 32
Access sql to sql server express 10 35
Column Layout in Access Xp VBA Report 3 19
In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
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 …

809 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