Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print a report into file 1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I use Crystal Report V5 with Visual Basic 6.
I would like put the result of the report into a file.
For exemple : File format Word, RTF ,...
Can you help me, thanks
NB: If it's possible, can we create a pdf file with the
report to read it with Acrobate Reader
 
If you want to export a report to PDF you will first need to download the Crystal Reports plug-in that will allow you to do this from their homepage. As far as I know it's still only been released as a BETA version but I have had no problems with it.

You then need to use this code to export it:

'Converts Crystal Report to PDF using *BETA* drivers
Dim crxExportOptions As CRAXDDT.ExportOptions

Set crxExportOptions = Report.ExportOptions

crxExportOptions.FormatType = crEFTPortableDocFormat
crxExportOptions.DestinationType = crEDTDiskFile
crxExportOptions.DiskFileName = "c:\TestPDF.pdf"

Report.Export False


This should hopefully solve your problem!
Carl
Datatrue Group Ltd
 
Thanks for your help!
but how can i find the driver than i need !
 
Leave your email address, I can send it to you if you like. Otherwise go into the Seagate website(May have changed now due to them being called Crystal Decisions since early March), and look around a bit - I assure you its somewhere in there!!
 
Please, send it to me as well.
I´ve got the same problem.
my email:
james@neval.com.br
 
Carl,

If you have time, I would appreciate a copy of the plug-in as well.
jjauregui@csi.com

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top