Exporting to PDF

kryotek

New Member
Messages
5
Reaction score
0
Points
0
Houdy Guys,

I have this situation... :nuts:

I have a Recordset that has for example 3 records and I'm exporting these into PDF format but thing is that the crystal reports exports each record into a single file.

What I would like to do is to export all the records into 1 single PDF file.

This is my code:

for i = 1 to 3
With Report
With .ExportOptions
.Reset
.DestinationType = crEDTDiskFile
.FormatType = crEFTPortableDocFormat
.DiskFileName = "xpto" & i & ".pdf"
.PDFExportAllPages = True
End With
.Export False
Unload Me
End With
next i

Thanks in advance
 

kkenny

Active Member
Messages
1,950
Reaction score
0
Points
36
If it is in a printable program, here's what you do. (Like if you want to print the record, and the record is in Microsoft Word or something of the such)

Look for a program (most of them are free) that can make PDFs by using a print feature. Usually here's how it works. You install the program and it tells your computer you have this virtual printer. But what really happens is when you tell something to print in the virtual printer, it makes a .pdf file (of course you choose where to save it and sometimes you get options)

I'm not sure where I got my free pdf file maker, but I can assure you that it is free and easy to find. You don't need Adobe Acrobat Professional to do it.
 
Top