Hi, I´m having some problems with the code below, when the report doesn’t return any information the pdf is stored as a blank file.
I need to call a report N times to create reports for contacts, when the report returs information it works fine but when the report returns no information the function saveasPDF create an blank pdf.
Did someone have this issue already?
IF OMDsalesinvoiceA4.SAVEASPDF(AttachPath) THEN
BEGIN
...
KR,
Iã Mendes