Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

OpenPDFFile

edited July 2011 in General
Hi

This is my code, i expect the PDF NOT to be openend after creatiom, but
still it does (RB 12.04 and D2007)

repToPrint.AllowPrintToFile := True;
repToPrint.DeviceType := dtPDF;
repToPrint.PDFSettings.OpenPDFFile := False;
repToPrint.TextFileName := OpFile;
repToPrint.ShowPrintDialog := False;
repToPrint.Print;


Eric

Comments

This discussion has been closed.