External documents
This generic function is used to start the print of a report belonging to the corresponding group. When starting the function, a window is displayed to select a report from the group. This selection is used to open the setup entry window and the report launch.
The documentation of each report can be accessed from the menu: Functional > Report dictionary
Prerequisites
Refer to documentation Implementation
Screen management
Entry screen
Block number 1
Report code (field RPTCOD) |
It defines the report code to be printed. |
field RPTDES |
Enter the description of the relevant record. This long description is used as a title in screens and reports. |
Grid Parameters
No. (field PARNUM) |
Parameter title (field PARDES) |
It specifies the name of the parameter to be entered. |
Parameter type (field DEBFIN) |
First value (field VALEUR1) |
This grid makes it possible to assign the parameters necessary to print the report. These parameters can have the following characteristics : they can be of the start/end type (two values to enter) or of a unique type (a single value) they can be according to the cases, chosen from a selection window, or entered as a local menu (choose from a list : in this case, the start of the title can be entered, for instance Y for Yes) one of the parameters (predefined in the report) normally entered in the form of a range can be further broken down into several ranges. This is useful when a report must be printed, and that a large number of pages exist given the volume that will be generated (in general, this is a question that needs to be asked for reports that exceed 10,000 pages since Crystal Reports does not manage this volume of pagination well). In this case, it is better to define intermediate ranges to "sub-divide" the report. It is the case for instance for the General Ledger (GLGRP) report that can be sub-divided by account. If the sub-division of a report has been defined in the parameter in question (a column exists for that purpose in the report dictionary), a right click gives access, via the Sub-division choice, to an intermediate range entry window. The result of the print request will therefore be a chain of several reports ranging from the start of the first intermediate range, the first intermediate range of the second, etc..... up to the end of range of the last. |
Final value (field VALEUR2) |
Report destination
Destination (field PRT) |
It defines the destination of the report that is going to be calculated. If this field is assigned, most of the information of the next boxes is displayed. It should be noted that a destination code corresponds either to a printer, a file, a message, or a file containing the printing flow specified for a given type of printer. |
Deferred (field IMPDIF) |
This box is displayed only : it is checked if the printing has been requested in deferred mode via the corresponding button. It can be checked if the report is defined as being printable in deferred mode only. |
Output characteristics
Output type (field IMPRIME) |
This field defines the type of issue associated with the report. It can take the following values:
|
Server (field SERVEUR) |
This field, assigned if the print is not started as preview, makes it possible to define the print server to be used to launch a report. |
Printer (field IMPRIMANTE) |
This field is used to define the network name of the printer to which the report is sent. |
File (field FICHIER) |
If the file path is not expressed in absolute terms, an attempt is made to generate the file in the C:\temp folder first, if it exists, otherwise in C:\, or else in the client installation directory if the server is not assigned. If the server is assigned, the file will be generated in the client installation directory. |
Block number 5
Orientation (field PRTORIENT) |
Copies (field NBRCPY) |
This is used, in case of a printer output, to give a default value to the number of copies to be performed. |
Assembled copies (field ASSCPY) |
If several copies are requested, and the box is checked, the pages are assembled before printing the next exemplar. Otherwise, each page is repeated. For instance, for the printing of two copies of three pages :
|
Block number 6
Format (field FMTFIC) |
It defines the possible formats via the local menu 91. These formats include among others office formats (data processing and spreadsheet), generic formats ((HTML, ascii, PDF) and a format specific to Crystal Reports. |
Pages (field PAGDEB) |
This is used to restrict the pages to be printed between two numbers (if no value is set, all the pages of the report are printed). |
field PAGFIN |
Block number 7
Paper size (field FORPAP) |
Language (field LANGUE) |
When the report can be used in several languages, the language to be used is defined here. |
Refer to documentation Implementation