Solved

convert report to pdf

Posted on 2015-02-01
4
110 Views
Last Modified: 2015-02-01
Hi EE
I have the following line of code
DoCmd.OutputTo acOutputReport, "rptFaultReport", acformatpdf, Tlocation, False

Tlocation = \\klo-fs\common\Hoist\Reports\  & “FaultReport”

Problem is I get the message report saved but when I look in the folder report it looks empty but If I open the properties dialogue box it tells me there is one file. I have no idea what goes on. Any help appreciated

chestera
0
Comment
Question by:chestera
[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
  • 3
4 Comments
 
LVL 25

Accepted Solution

by:
chaau earned 500 total points
ID: 40583260
Use the extension. You have saved it as FaultReport, without .pdf at the end. Your Windows Explorer is configured to not show it. Change the line to this:
Tlocation = \\klo-fs\common\Hoist\Reports\  & “FaultReport.pdf”

Open in new window

0
 

Author Comment

by:chestera
ID: 40583328
chaau
added .pdf still not showing up in the \\klo-fs\ etc so tried into a different location on the PC and it worked so looks like I have a server problem

Alan
0
 

Author Comment

by:chestera
ID: 40583363
chaau

Thank you for your help I had two problems missing .pdf and a corruption in the Report folder.
All working fine now

Alan
0
 

Author Closing Comment

by:chestera
ID: 40583365
:)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
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 …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

623 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