`
Par2: Running Report Writer from inside Clarion apps 1998-05-03 -- Don Redd Here is they way I do it, works very well( with over 100 reports). Here's an example: Library Path/Name: C:\REPORTS\REPORTS.TXR Report Name: OrderInvoice Here's the command line to run this from a push button from inside your Clarion program: Using 32 bit report engine: RUN('C4PRINTX.EXE C:\REPORTS\REPORTS.TXR OrderInvoice /W') ! the /W will preview the report Using the 16 bit report engine: RUN('C4PRINT.EXE C:\REPORTS\REPORTS.TXR OrderInvoice /W') ! the /W will preview the report. Look at the help files for the ReportWriter and find "Late Breaking News" or "Command Line Parameters" to see all of the command line switches. You can call the ReportWriter .DLL from inside your program, but I have not done it yet, as I do not use the ABC templates yet. Printed November 23, 2024, 3:32 am This article has been viewed/printed 35205 times. |