-
1
- #1
I'm printing a Crystal Report using the Adobe PDFWriter. <br><br>I want to force a filename to the print out, so instead of a dialog box coming up and asking the user for the name they want to save the file as i'll be forcing the name.<br><br>Look at the code below and give me an idea what to do.<br><br>Thanks.<br><br>With CrystalReport1<br>.ReportFileName = "F:\Advert_Iface\invoices.rpt"<br>.Connect = "DSN = plat_ar_live; UID = userid; PWD = pass; DSQ = CLASSIFIEDDB"<br>.PrinterName = "Acrobat PDFWriter"<br>.Destination = crptToPrinter<br>'.PrintFileName = "what do i put here?"<br>.ParameterFields(0) = "rundate; DATE(" & DateParam & " ;TRUE"<br>.Action = 1<br>End With<br>