Export to PDF without ShowReport()
Hi,
When I try to generate a PDF file with the command frxReport.Export(frxPDFExport), I receive an error message like this : "Impossible to open the file because it does not contain any page".
It seems that I must first execute frxReport.ShowReport(frxPDFExport) to generate pages, then execute frxReport.Export(frxPDFExport). It's a problem for me because I would like to generate PDF files in batch mode.
My question : is it possible to create PDF files without executing the ShowReport procedure beforehand ?
Thank you.
Regards.
Groupir.
When I try to generate a PDF file with the command frxReport.Export(frxPDFExport), I receive an error message like this : "Impossible to open the file because it does not contain any page".
It seems that I must first execute frxReport.ShowReport(frxPDFExport) to generate pages, then execute frxReport.Export(frxPDFExport). It's a problem for me because I would like to generate PDF files in batch mode.
My question : is it possible to create PDF files without executing the ShowReport procedure beforehand ?
Thank you.
Regards.
Groupir.
Comments
frxReport.PrepareReport;
frxReport.Export(frxPDFExport);
Groupir.