Navigation: Guide to Examples >====== ReportWriter Example Suite ====== | |
The following examples show several methods Clarion programmers can use to extend ReportWriter's capabilities, including how to incorporate ReportWriter's print engine into an application and techniques to add external libraries to ReportWriter.
INVOICE.APP
Located in the \(CLARION ROOT)\EXAMPLES\INVOICE folder. This application contains a toolbar print item that calls the ReportWriter print engine through a source embed, launching a ReportWriter TXR file.
Each of the examples discussed below can be found in the
\(CLARION ROOT)\EXAMPLES\RWEXAMPL folder.
RWDEMO1
This hand coded program demonstrates how to call the Clarion RW print engine DLL (ClaPRLBX.DLL) from a program. It in turn runs three RW report, the last one using a runtime variable.
RWDEMO2
This program demonstrates replacing the Report Preview Engine when printing a report via ClaPRLBX.DLL
RWDEMO3
This program demonstrates supplying ClaPRLBX.DLL with an external procedure, and creates a DLL.
RWDEMO4
This program demonstrates calling a report using an already opened file when calling ClaPRLBX.DLL.
RWDEMO5
This program demonstrates how the file handling of ClaPRLBX.DLL can be completely overridden (the example also prints from a queue rather than a file).
RWDEMO6
This program demonstrates how the TXR definition can be supplied dynamically to ClaPRLBX.DLL.
There is also a complete lesson set that accompanies the Report Writer documentation. See the Report Writer help file and PDF for more information. The files for the lessons are located in the \(CLARION ROOT)\EXAMPLES\RWTUTOR