473,480 Members | 2,123 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Exporting and saving report to pdf or word.

20 New Member
hello,
i'm trying to make a button that export my report to word or pdf formate i'm trying to use macros to that but it doesn't help me.maby i can use procedure code instead of macros code. is there a way to do that?????
Sep 11 '07 #1
4 1942
NeoPa
32,556 Recognized Expert Moderator MVP
There doesn't appear to be any native support for either of these in Access I'm afraid. There are solutions but they depend on third-party software. Some of them are easier than others to program but I'll leave others who know about the various software to fill in any details.
Sep 19 '07 #2
Denburt
1,356 Recognized Expert Top Contributor
rtf (rich text format) is a format that Word can read and MS Access exports to with very few issues.

In a Macro you would look for the OutputTo Method then select the rest of the settings.

If you wanted to use code you would select the button in question look at the properties for the button and select the On Click event enter [Event Procedure] into the field then click the button to the right of this field. Once in VBA enter something like:

docmd.OutputTo acOutputReport,"Your Report Name",acFormatRTF

While in the vba window if you highlight the word OutputTo then press F1 you can see how this method works and all the arguments etc.


Let us know if this helps.
Sep 19 '07 #3
NeoPa
32,556 Recognized Expert Moderator MVP
Thanks Denburt.
I don't use that much so I had a quick look-see but couldn't find it :(
Sep 19 '07 #4
Denburt
1,356 Recognized Expert Top Contributor
Your quite welcome, I use it quite frequently but I am usually required to do it manually from inside the database, the people in our office are always asking for one time this or that exported, so I see this a lot. I think it is their way of checking on me j/k.


I hope it helps the OP, let us know how this works out for you zaiena.
Sep 19 '07 #5

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

Similar topics

5
5515
by: Jayjay | last post by:
Is it possible to export a report to word and have it include the graphics that are in the report? I'd like to take some of our reports and export them to word so we can email those to the...
0
1829
by: Stephan Golux | last post by:
Hello. I am using an access 97 application that exports a report to RTF format, which is subsequently emailed to various people. The main informational field in the report is a free form memo...
5
3033
by: mik18 | last post by:
I'm having trouble with exporting reports to Word in the rtf format and I'm hoping someone has a solution. The reports are losing their formats. Not all the formating is lost but some is and of...
1
1312
by: Kirsty Ryder | last post by:
Hi, I'm not sure whether I'm being silly and its really obvious, or whether I'm being over-ambitious. At the end of each month I run a report. A pop up dialog box prompts for the dates and...
5
3071
by: feck | last post by:
Hi, Is there any code/routine to export a report as a word document retaining the formatting. I have a requirment to produce some fairly detailed statisitical reports for transmission by e-mail....
1
1711
by: gooberoot | last post by:
Hi, When exporting a report to Word - all the formatting is exported with no problems, with ONE exception. Check boxes that show up in the reports are missing. When exported to Word, I don't...
1
3143
by: Mustufa Baig | last post by:
I have an ASP.NET website where I am showing off crystal reports to users by exporting them to pdf format. Following is the code: ---------------- 1 Private Sub ExportReport() 2 Dim oStream...
0
3127
by: adamz5 | last post by:
I am currently exporting a crystal report using code. This works fine and exports the report to a word document onto disk using DiskFileDestinationOptions() and ExportOptions However when i...
0
1174
by: julie | last post by:
I have a CrystalReportViewer on a web page and when I click on the export button and select Word, the report opens in separate window in ..doc format, but the user cannot print / save as the...
0
7048
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
7050
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
6966
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...
1
4787
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...
0
4488
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2988
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1303
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
564
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.