ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Editors / Report editor / Report viewer
  • Overview
  • Features of the report viewer
  • Other features
  • Notes
  • Display effects during a zoom
  • Printing from the report viewer
  • Re-running the report
  • Using Outlook Express and sending emails from the report viewer
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
The report viewer allows you to see the report layout without printing it (report preview). The report layout and content can be checked. You also have the ability to print the report.
The report viewer is available:
  • in the report editor of WINDEV, WEBDEV, WINDEV Mobile.
  • in Reports and Queries.
  • when printing reports from a WINDEV application.
Features of the report viewer
The report viewer proposes several features:
Report viewer
Note: To view a report in the report viewer, a printer must be installed on the current workstation.
Other features
  • Customization: Your application uses a skin template? Why not use this skin template for the report viewer as well?. For more details, see Customizing the report viewer.
  • Report viewer and printing with WLanguage functions: If you print with WLanguage functions, you can also take advantage of the report viewer functions.
  • Setting the various options: To display only certain panes or options:
    • use iParameterViewer. This function, used in the "Initialization" event of the project, allows you to choose the tabs and options that will be displayed for all the reports of the application.
    • directly configure the different options that will be displayed for each report in the report description window ("UI" tab).
  • Printing from report viewer: To find out whether the user has printed from the report viewer, use the iDocumentPrinted function.
Notes

Display effects during a zoom

Display effects may occur when performing a report zoom in the report viewer. For example, some very fine lines may not be displayed in the report viewer. However, these lines will be printed when the report is printed on a printer.

Printing from the report viewer

To print an entire document from the report viewer, you must wait for all the pages to be displayed.

Re-running the report

The report displayed in the report viewer is automatically re-run when the report is printed or exported from the report viewer. The WLanguage events associated with report are re-run.
In this case, the data displayed in the report may be modified (to take into account the data modified by the other users for example).
The variables used by the report should be initialized in the report initialization code (not in the code of the Button control that starts the report viewer).
Note: The WLanguage functions used in your report may return a different result when the report is re-executed.. For example, if WLanguage functions in your report handle the current window, when the report is re-run, the current window will correspond to the report viewer window.

Using Outlook Express and sending emails from the report viewer

If you use Outlook Express and send emails from the report viewer, the following problem may occur: the Outlook Express send email window no longer allows you to enter email information.. All the controls are grayed.
This is caused by an Outlook problem.
Make sure you have the latest Outlook update.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help