firstly from the print/group menu. In this case, the report to be printed is directly chosen from the report list of the corresponding group.
secondly from the object management, by using the functions File / Print or File / List (this supposes that the reports are assigned to the buttons : the function object customization is used to do this, and a dedicated function makes it possible to define the default values dependent on the context.
Refer to documentation Implementation
Presentation
Once the report code has been selected, the following elements need to be entered :
Close
Fields
The following fields are present on this tab :
Block number 1
| It defines the report code to be printed. |
| Destined notably to figure in the reports and the screens in which the record code can be entered or selected. This text is used to give a clear description to the record concerned. |
Table Parameter definition
|   |
| It specifies the name of the parameter to be entered. |
|   |
| 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. |
|   |
Report destination
| 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. |
| 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. |
Characteristics of departure
| This field defines the type of issue associated with the report. It can take the following values:
|
| 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. |
| This field is used to define the network name of the printer to which the report is sent. |
| 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
|   |
| This is used, in case of a printer output, to give a default value to the number of copies to be performed. |
| 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 :
|
| 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. |
| 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). |
|   |
|   |
| When the report can be used in several languages, the language to be used is defined here. |
Close
In the case of sub-divided prints :
in preview, the preview screen will open as many times as there are print sub-divisions, the print window will open once the final sub-division preview window has opened.
in printing to file (choose Printer/file), the files are named from the name of the given file, followed by a consecutive number of 2 digits. For instance, if the file myfile.prn is defined, the generation will create the files myfile01.prn, myfile02.prn, …
The file help is active in print management. This makes it possible to call up a help defining what the report and the parameter list are waiting for. It should be noted that this help exists only for certain reports (those where additional explications are considered necessary).
This function can be executed in batch mode, but no dedicated standard task is delivered to execute it.
is used to save the parameter values entered, by giving a name to the memo. Remembering that the memo STD, if it exists, is automatically recalled when a print is launched. |
makes it possible to recall a memo by giving its code. |
allows the deletion of an existing memo. |
The following fields are present on the window opened through this button : Hourly constraints
Block number 2
Close allows the deferring of the print launch. This assumes that printing is always carried out on a print server printer. An additional entry window opens then to confirm that the print has indeed been deferred and to display the required additional parameters. |
In addition to the generic error messages, the following messages can appear during the entry :
An attempt has been made to launch a batch print in a folder other than the current folder.
The report in question cannot be printed by the current user (for instance, because the report is protected by an access code).
The report in question manages access restrictions for certain companies or sites and, taking into account the parameter values entered (for instance those of SOCDEB type - company range - or SITDEB - site range - that can be defined), no data can ever be printed.
The report in question manages access restrictions for certain companies or sites and, taking into account the parameter values entered (for instance those of SOCDEB type - company range - or SITDEB - site range - that can be defined), no data can ever be printed.
The report in question manages access restrictions for certain companies or sites and, taking into account the parameter values entered, the data for certain sites will not be printed. In this case, it is a warning message (because certain data can be printed all the same).
An attempt has been made to launch in batch mode a preview of a report.
An attempt has been made to launch a print in batch mode without giving the print server name.
The report requested can only be executed from within a series of programs (in general because a preliminary process is necessary). A check box defines this in the report dictionary.
A non-conforming parameter value has been entered.
The second range value for an interval is inferior to the first
It should be noted that other error messages linked to the entered parameters can be displayed, for instance Incorrect period.