|
|
|
|
|
- Overview
- Displaying and modifying the description of a report
- Overview
- Managing the data source
- Display options in the report viewer
- Managing blocks
- Format
- Options
- Background image
- Language
- Opening, closing and saving a report
- Opening a report
- Closing a report
- Saving a report
- Automatic recovery
Handling a report (in the editor)
Once a report was created, the description of this report can be modified at any time: - data source,
- controls found in the report,
- layout, ...
Only the report type cannot be modified. Indeed, too many specific parameters are involved. To change the report type, all you have to do is create a new report.
This help page presents: Displaying and modifying the description of a report Overview The main options of the report can be accessed in the report description ("Report description" in the context menu). Let's take a quick look at the different tabs of report description. Managing the data source The data source of a report can be configured and modified at any time. In most cases, these operations are performed from the description window of the report. You can: - modify the data source of report ("Data" tab of report description):
- by changing the type of data source for the report (switching from a report based on a query to a report based on a data file or on a memory area for example).
- or by changing the parameters of the selected data source (modifying the query, modifying the sorting, setting path markers, etc.).
- configure the operating mode of report if the data source is empty ("UI" tab of report description). If the data source is empty, the report editor gives you the ability to print the report or to display a warning message without printing the report. The warning message can be configured.
Note If the report is based on a query, use the "Edit query" option in the context menu to edit the query directly in the query editor. Then, this query can be modified. Display options in the report viewer The display options in the report viewer are defined in the "UI" tab of the report description. You can: - specify the export formats that will be available in the report viewer. The selected formats will be available for the user.
- configure the message displayed if the data source is empty.
- set the waiting message displayed when selecting and sorting records.
 This option is ignored.
Managing blocks A report is made up of different blocks. For more details, see Report blocks. The "Blocks" tab of the report description allows you to: - Add or delete a block,
- Edit the description of one of the report blocks.
- Set the position of individual blocks in relation to each other.
Note The block context menu (right-click on the block label) offers several options for setting block parameters. In particular, it is possible to display the description of the current block. For more details, see Handling report blocks. Format The "Format" tab of the description window of report is used to configure: - the page format (or the format of label sheet).
- the page orientation (portrait or landscape).
- the format of labels if the report is a label report.
- the indent of controls (in order for the control text not to be stuck to the control border).
- the margins.
You can define: - page margins.
New in version 2025margins for odd and even pages, i.e. the margin corresponding to the binding.
- the number of columns.
You also have the ability to create multi-column reports. - the number of pages in width. In this case, a large report (whose size exceeds the size of a paper sheet) will be printed on several pages. The end user will only have to assemble the pages. For more details, see Multi-page print.
Options The "Options" tab found in the description window of report is used to configure: - the operating mode of report if the page format is not supported by the printer.
- the table style if the report contains a table.
- the list of templates used by the report.
- the style of the labels if the report is a label report.
- the errors specific to PDF/A-1b and PDF/A-3b export. For more details, see Printing to PDF.
This tab is also used to: - configure the report for using Reports and Queries. For more details, see Reports & Queries.
- specify whether the compiled code must be included. This option is required in very rare cases only.
- configure some specific parameters:
- Whether the pages must be sent one by one to the print spooler (print performed page after page). In this case, the print is sent to the print spooler after each printed page.
- Whether the space characters that fill the items must be taken into account. This option affects only auto-resizing controls associated with a text item filled with space characters (compatibility with WINDEV 5.5).
- Whether the first page is a cover page. In this case, the first page will be displayed on the right in the report viewer (in side-by-side display mode).
- Whether the code of cloned controls must be run. This option is checked by default. If you uncheck this option, the report will behave as in versions 21 and below: the code for cloned fields will not be executed.
- Overload the programming standard defined at project level (via the "Programming standard" button). For more details, see Project description: Compilation tab.
Background image Most types of reports can be created from a form. The "Background" tab allows you to define the image used as form in the report. This image can be printed (or not) with the report. This option is very useful for the reports that must be printed on a pre-printed form. The form is included in the report, allowing you to easily position the records to print. Printing has now become hassle-free. It is also possible to configure the paper color that will be used in the report viewer and when the report is exported to PDF. Language A report can be multilingual: this report can be displayed and printed in several languages. The "Language" tab is used to configure: - the languages supported by the current report.
- the language displayed in the report editor: this language will be used by default when the report is displayed in the editor.
The following information can be typed in several languages: - all the messages displayed while the report is printed. These messages are translated in the different description windows.
- the labels of Static Text control or RTF fields: To translate these labels, simply:
- change the language displayed on the report: in the "Display" pane, in the "Options" group, pull down "Language displayed" and select the language required.
- enter the translations in the report in edit.
- the input mask of item controls, calculated controls or preset controls.
- the image files used in the report.
- the form of the report.
Opening, closing and saving a report Opening a report To open a report, you have the ability to use one of the following methods: - on the "Home" tab, in the "General" group, expand "Open" and select "Open". Then, select the "WDE" file to open.
- click
in the quick access buttons and select "Open". Then, select the "WDE" file to open. - double-click a "WDE" file directly.
- double-click the name of a report in the "Project explorer" pane.
Closing a report To close the current report, use one of the following methods: - click the cross found in the upper-right corner of the title bar of the report being edited.
- on the "Home" tab, in the "General" group, expand "Close" and select "Close".
If the report contains unsaved modifications, the report editor automatically proposes to save the report. Saving a report To save the current report, use one of the following methods: - on the "Home" tab, in the "General" group, click
. - press Ctrl + S.
- click
in the quick access buttons.
Note To save a report by renaming it, in the "Home" pane, in the "General" group, pull down "Save" and select "Save as". Automatic recovery To avoid problems when a system lock occurs (power outage for example), WINDEV, WEBDEV and WINDEV Mobile propose a system used to automatically retrieve the elements opened in the different editors When this system is enabled: - an automatic backup of the opened elements is regularly performed at specific time intervals (every 10 minutes by default).
- when a report is re-opened after a system lock, a window for automatic retrieval is displayed. This window proposes to recover:
- the report as it was during the last backup performed from the report editor.
- the report automatically saved.
The selected version is automatically opened in the editor. The non-selected version is available in the window for managing the versions and it can be opened at any time. For more details on version management, see managing the versions.
To enable the system for automatic retrieval: - On the "Home" tab, in the "Environment" group, expand "Options" and select "XXX general options".
- Go to the "General" tab and check "Backup for automatic retrieval'.
- Specify the timeout for the automatic backup.
- Validate.
To retrieve a version in the window for version management: - On the "Home" tab, in the "General" group, expand "Save" and select "Versions".
- Select the version to retrieve.
- Validate.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|