Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link 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.
Today is November 21, 2024, 7:06 am This article has been viewed 35202 times.
|
|