Creating Windows Report Components
In this section of the tutorial, you will create a report for the Order Entry example.
WinPrint: This technique uses the DataFlex WinPrint engine together with the Report Object to produce graphical reports (supporting different font styles, colors, bitmaps, and graphics).
You will create a Customer Listing report using cWinReport2.
DataFlex reports are encapsulated within ReportView objects. Each ReportView has two major parts:
- A simple user interface that allows the user to select the output device, sort order, a range of records to print, etc.
- The report itself.
We will conclude this section by showing how a report may be added directly to a view. The order entry view contains a "Print Order" button. In this final section, we will add the code required to make this button print the current order.
This tutorial section will take you through the following steps: