How to Use More Than One Template for a Report
Each report has exactly one corresponding Data Source Package (i.e. one DSP class) and one or more templates. These templates have to use the same Data Source Package. But only one of them can be default for a particular company and language. This also applies to company- and language- neutral templates. These templates that have the Language and Company field empty.
The Is default flag is applied to all templates with the same Template ID. This means that the default template is determined considering the Is default flag in the report setup, current company and the selected Language on the report dialog form. The current user language is used by default if Language is omitted.
If the report has more than one template and we want to use a non-default template, we can:
- Choose the alternative template on the report dialog form:
- Or we can change a selected template dynamically during report execution. Learn how >>
See also
How to Dynamically Change Print Destination Settings >>
How to Use Placeholders in Print Destination Settings >>