|
-
Mar 9th, 2006, 02:00 AM
#1
Thread Starter
Hyperactive Member
Export DataReport to pdf?
Can I export my DataReport to .pdf? I can export to html :
VB Code:
DataReport1.ExportReport rptKeyHTML, "C:\MyReport.htm", True, True, rptRangeFromTo, 1, 4
Can I export to .pdf?
-
Mar 9th, 2006, 02:04 AM
#2
Re: Export DataReport to pdf?
This link should help solve your problem.
-
Mar 9th, 2006, 02:07 AM
#3
Thread Starter
Hyperactive Member
Re: Export DataReport to pdf?
Thanks! What is Adobe Distiller? I do not need to print directly to .pdf format, I only need to save to .pdf. I still need Adobe Distiller to do that?
-
Mar 9th, 2006, 02:10 AM
#4
Fanatic Member
Re: Export DataReport to pdf?
adodbe distiller is the one that makes writing a pdf file possible... now if you want to convert your report to pdf... print it using the adobe distiller printer.
WARNING: Excessive coding is dangerous to your health... if symptoms persist insult your doctor...
-
Mar 9th, 2006, 02:21 AM
#5
Thread Starter
Hyperactive Member
Re: Export DataReport to pdf?
Where can I get it? Do I have to write anything to my code? like :
VB Code:
DataReport1.ExportReport rptKeyHTML, "C:\MyReport.htm", True, True, rptRangeFromTo, 1, 4
-
Mar 9th, 2006, 02:22 AM
#6
Fanatic Member
Re: Export DataReport to pdf?
i think its in the datareport.printreport function to write this one... bcoz you wont export it to pdf... you will "print" it to pdf
WARNING: Excessive coding is dangerous to your health... if symptoms persist insult your doctor...
-
Mar 9th, 2006, 02:24 AM
#7
Frenzied Member
Re: Export DataReport to pdf?
datareport.exportreport function saves a report as html file or in html format
On error goto Trap
Trap:
in case of emergency, drop the case...
****************************************
If this post has been resolved. Please mark it as "Resolved" by going through the "Thread Tools" above and clicking on the "Mark Thread Resolved " option. if a post is helpful to you, Please Rate it by clicking on the Rate link right below the avatar
-
Mar 9th, 2006, 02:27 AM
#8
Fanatic Member
Re: Export DataReport to pdf?
ok... some steps to help you out...
firstly, install adobe distiller...
then set your default pc printer to distiller...
(you can do that by going to settings>>printers, right click the acrobat distiller printer>> set as default)
then print your report...
>>datareport.printreport...
or as sugested you can use the adobe api calls... try a search! google is your friend!
Last edited by lerroux; Mar 9th, 2006 at 02:30 AM.
WARNING: Excessive coding is dangerous to your health... if symptoms persist insult your doctor...
-
Mar 9th, 2006, 02:30 AM
#9
Frenzied Member
Re: Export DataReport to pdf?
i believe the newer version of acrobat pdf (i've got version 6) has the ability to accept pdf conversion from a variety of apps. then there is crystal reports which can simply convert to pdf.
-
Mar 9th, 2006, 02:31 AM
#10
Frenzied Member
Re: Export DataReport to pdf?
well then, i suggest you migrate to crystal reports
On error goto Trap
Trap:
in case of emergency, drop the case...
****************************************
If this post has been resolved. Please mark it as "Resolved" by going through the "Thread Tools" above and clicking on the "Mark Thread Resolved " option. if a post is helpful to you, Please Rate it by clicking on the Rate link right below the avatar
-
Mar 9th, 2006, 02:31 AM
#11
Fanatic Member
Re: Export DataReport to pdf?
that would be right... although it still depends on how you create you app... try to experiment!
WARNING: Excessive coding is dangerous to your health... if symptoms persist insult your doctor...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|