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
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