Hello!
I am using this code, but the pdf file is blank, what is wrong?? If somebody have a better way of doing the convert, please let me know also!
var
rep : tquickrep;
pdffilt : tqrpdfdocumentfilter;
na : string;
begin
na:='faktura.qrp';
application.createform(tutfaktmail,utfaktmail);
rep:=utfaktmail.rapport;
rep.Prepare;
rep.qrprinter.load(na);
rep.qrprinter.ExportToFilter(pdffilt);
utfaktmail.Release;
end;
If I use a preview after the load line, it shows the report, but the pdf file is empty!
Regards
Kåre!
I am using this code, but the pdf file is blank, what is wrong?? If somebody have a better way of doing the convert, please let me know also!
var
rep : tquickrep;
pdffilt : tqrpdfdocumentfilter;
na : string;
begin
na:='faktura.qrp';
application.createform(tutfaktmail,utfaktmail);
rep:=utfaktmail.rapport;
rep.Prepare;
rep.qrprinter.load(na);
rep.qrprinter.ExportToFilter(pdffilt);
utfaktmail.Release;
end;
If I use a preview after the load line, it shows the report, but the pdf file is empty!
Regards
Kåre!