473,399 Members | 3,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

How to save MS ACCESS reports as PDF?

Hi,

I am creating around 200 reports in MS ACCESS and would want that each of these reports get saved as PDF in a specific location - with each report having a specific name - automatically!

As of now, I have to manually save each of these reports into a particular location and manually enter filename for each of them.

Is there a way such that the file names are automatically taken from an excel sheet or ACCESS table and these reports are saved automatically in a particular location.

Please help!! any guidance is appreciated.

Thanks,
Tarang
Nov 13 '08 #1
2 11595
Similar question but emailing reports as pdf can be seen here

Click a button and it auto saves report with a name you specify to a folder you specify as PDF. It then attaches it to an email to be sent to someone.

If you don't want to email it anywhere, ignore the middle of the three codes and knock off the "sbSendreturnform fileName" from the last code.

I've put instructions with the codes so it should be fairly easy to mod =)
Nov 14 '08 #2
WinoLa
3
Hi,

I wanna save MS access report to PDF file. I tried your code. I copy the 1st part of ur code to a new module and save it. I ignore the 2nd part because i do not want to email the PDF file.

For the 3rd part, i copy & paste it to a onClick command button. I did the following changes from ur coding:-

Report = "E-Invoice Report"
fileName = "C:\payroll\PDF Files" & Date & ".pdf"

I support the "Report" is the report i want to save as PDF file and
"fileName" is where i want to save the file in.

When I try to run it, i get the following error:-

Compile error:
Ambiguous name detected: ConvertReportToPDF

I'm running in Access 2003.

Any idea how can i rectify it?

Thnks a million in advance.
Jan 13 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Carl | last post by:
Please can anyone tell me how I can create a macro to save the results of a query as an excel file? The query is called Student List and I would like to save it to "My Documents". We have had...
3
by: Gheaci Maschl | last post by:
Hi all! I would like to have your opinion about my problem and my proposal how to solve it: Ingredients: - BTriev database - Crystal Reports - maybe MS Access - Liinos6 (small ERP software)
2
by: Greg | last post by:
looking for an easy way for users to browse for a file on their local drive, and then have access automatically make a copy of that file (files will most likely be images) and save it under a new...
13
by: Mike MacSween | last post by:
Well, I suppose it was only 20 minutes work, but it would have been nice if I'd been prompted to save that new code module. After all, they ask you if you want to save new forms, reports etc.
6
by: Bob Alston | last post by:
I am looking for Access reporting add-in that would be easy to use by end users. My key focus is on selection criteria. I am very happy with the Access report writer capabilities. As far as...
16
by: JoeW | last post by:
I'm utilizing a database that I created within MS Access within a program I've created in VB.NET. I am using the VB front end to navigate the information, but want to be able to print a report,...
6
by: Josetta | last post by:
Access 2003 I've been experiencing some problems with my "monster" database the last couple of days. I imported all objects into a new database yesterday, which pretty much stopped the crashing...
7
by: dmagoo22 | last post by:
I have inherited a program in which I'm finding that Access is running strangely. I broke the entire function into multiple macros as the reports would fail. It seems that when the DoCmd.OpenReport...
3
by: evenlater | last post by:
I have an Access application on a terminal server. Sometimes my users need to export reports to pdf, rtf or xls files and save them to their own client device hard drives. They can do that right...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.