- Overview
- What are the elements of a report?
- Simplified definition of a report
A report provides a custom view of the data: data entered in the database, data found in a text file, data coming from a Table control, ... Depending on the product used, the data found in the report can be displayed in different formats: - In WinDev:
- In a Windows application, a report can be displayed on the screen, saved in an HTML file, printed on a printer, ...
- In a Linux application, a report can be saved in a PDF file.
- In WebDev, a report can be saved in a file (HTML or PDF), sent by email, displayed in the browser of the Web user or printed on a printer connected to the server, ...
- In WinDev Mobile:
- In a WinDev Mobile application, a report can be printed on a printer (in PCL format) or saved in a PCL file.
18版本和更高版本In an iOS application, a report can be saved in a PDF file. 18新版本In an iOS application, a report can be saved in a PDF file. In an iOS application, a report can be saved in a PDF file.
What are the elements of a report?
A report includes: - blocks that define the different sections of the report (see Report blocks for more details).
- controls in which the report data is displayed (see Report controls for more details).
A report can be used to summarize and synthesize the data. You can: - group the data,
- sort the data according to any criterion,
- perform calculations (means, statistics) or even create charts,
15版本和更高版本display the data in several columns. 15新版本display the data in several columns. display the data in several columns.
Just think of a report and the report editor will create it. Some examples of reports:  Order form (print preview in WinDev)  Table + Chart report displayed in PDF format  Information form
Simplified definition of a report
The diagrams below present a simple definition of a report: - the data to print comes from a data source (data file, HFSQL view, query, memory zone, WLanguage variable or text file, ...).
- the report groups, sorts and formats the data.
- the report execution can be directed to:
- in WinDev: the screen, a file (PDF, HTML, RTF), a printer or a fax, ...
- in WebDev: a file( HTML, RTF, PDF), a printer or a fax, ... If the report destination is a file, this file can be sent to the browser.
- in WinDev Mobile: a PCL file, a PCL printer (in Windows Mobile) or a PDF file (for the iOS applications).
In WinDev: In WebDev: In Windows Mobile:
|
|
| | |
|