Understanding Report Templates
A report template is nothing more than a regular report (RPT) file. It can be any RPT file. Templates are
to other reports so that their formatting and layout can be used as a basis for the other reports. What is useful about the application of templates to other
Using Report Templates
Think of a template as the form that everyone in a company must
Some types of tasks that can be accomplished by (but are not limited to) applying a template to a report are as
Using Existing Crystal
For more information on thumbnails, review the Preview Pictures coffee break at end of this hour.
Save the report. The report will then open with the formatting from the applied template as shown in Figure 19.3. You can now save the report as CHAP19.rpt .
You might have noticed that just about anything you do when designing a report can be undone if you don't like it. This is also true when applying templates. However, the mechanism of accomplishing this is slightly different from all other undo operations. It does not appear in the regular undo list on the Standard toolbar.
If you don't like a template that you've just applied or it doesn't accomplish what you had hoped for, you can undo this action by going back in to the Template Expert. At the bottom of the dialog box, you will find a button that says Undo the Current Template. After selecting it and clicking OK, the template is removed.
A lot of report formatting
Adding the Powered by Crystal logo to the report (along with its ToolTip and hyperlink) from the Crystal Repository. The Crystal Repository is discussed in more detail in Hour 18, "Working with the Report Component Repository."
Adding an image that says Confidential as an underlay to each page of the report.
Modifying the fonts and
Showing the Record Selection Formula on the report.
Adding dashed lines between all items in the Details Section.
Adding a rounded box around the Record Selection Formula.
Using a rounded box to show where groups start and end.
Moving the Field Headings for each data field into the
One of the more advantageous features of templates is that even if more fields are in the target report's Details section than the template has, it duplicates the data field formatting for those extra fields. It puts them into a separate Detail Section (usually titled Details B) so that they will all appear together but they won't overwrite each other. The fields can then be moved around without having to worry about applying the same formatting by hand.