Hi!
I am using PDFCreator to form and send invoices with a little help from NAS. Something like this:
http://www.mibuso.com/forum/viewtopic.php?t=26245
Everything works perfectly alright, except for a little problem that some of the pdf-files sent are simply empty. The size of the file is 6kb so I assume that it does create the file itself properly, just nothing is in it.
Has anyone run into this problem or has any idea of where to look for the problem?
Comments
Now is there any difference between the ones that work and the ones that don't?
http://www.BiloBeauty.com
http://www.autismspeaks.org
I handled this by putting sleep(milliseconds) after the line REPORT.RUNMODAL(ReportID,FALSE,TRUE);
Technical Consultant, MS Dynamics NAV
Thnx Sandeep! I'll try this.
What other pdf-components have you used for automated invoicing?
Before the file should be attempted to be attached to mail, it shold be completely generated and released. So, keep waiting till the file is generated and released before attaching it to mail.
try something like
I hope it helps O:)
Technical Consultant, MS Dynamics NAV