Solved

Access Report to PDF

Posted on 2011-09-08
7
282 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
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 

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

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

Suggested Solutions

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
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…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
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…

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

18 Experts available now in Live!

Get 1:1 Help Now