Crystal reports 9 templates
Text font is white. The detail data displays on a white background with a blue underline beneath each detail line. Chart development is accounted for in a report header. The detail data displays on a white background with a green underline beneath each detail line. Chart development is accounted for in a Report Header. The detail data displays inside a dark-pink-bordered box. Group names appear along the left margin rotated 90 degrees as vertical text. The report title is placed in a rectangular box and drop-shadowed.
The detail data prints in a white font in blue boxes. Black borders, blue borders, white letters, black letters, peach boxes with blue drop shadows, and, oh yes, light and dark green charts. It demonstrates the use of rounded rectangular boxes to create a portal look and feel. Creating Templates In addition to the built-in templates provided with Crystal Reports, you can create your own templates or modify the built-in ones.
Creating a template is easy! All you have to do is create a report and save it to a special directory. Templates are stored in their own directory beneath the Crystal Reports installation directory. Storage location. Any file located in the Templates directory is automatically available as a template.
It is important that the report be given a title; its title acts as a descriptive name showing up in the list of all Crystal Reports templates built-in or user-created. Document Properties. The Document Properties dialog also includes a text field where you can enter the name of the template being used for the current report.
This is a free-form text area and you have no obligation to fill it out, but it is a good place to make a comment as to which template is in use by the currently open report.
For instance, you can delete the Crystal Decisions logo and embed a logo for your organization. Since the templates are report files themselves, the full complement of report-formatting options is available to you. Using Templates and Data Sources A traditional report file contains a data source and the formatting required to make the fields from the data source look good.
Since it is a structure that will be applied to other reports which contain their own data source , having a template without a data source is an appealing approach to report design. A data source—less template is created using a blank report. The effect of these three steps is to open a blank report in Design mode with a Report Header, Page Header, Details section, Report Footer, and Page Footer and without any data source identified or fields in the report. Clicking the Cancel button on the Database Expert leaves the report without a data source.
Now that you have a blank report and no data source, the next step is to place template fields in the report. Template fields are report objects that do not reference a database field or contain any data; essentially, they are placeholders for field data that will be filled in when the template is applied to a report. A gray rectangle appears to help you position and drop the field in the section of your choice.
In Figure If you have installed the i-net Designer on the same system like Crystal Reports 9 or higher then you can read the CR 9 or higher report templates with the i-net Designer and save it into i-net Clear Reports report templates:.
The i-net Designer use the i-net Clear Reports report file format for the report files. After you have saved the report template with the i-net Designer into a new file you can:. You can read your report template s with the report reader tool ReportReader. With this ReportReader you can read a single rpt file or all rpt files in a directory including subdirectories and save them in the i-net Clear Reports report file format. Contact us by email.
Products Reporting Software Solution. You can also apply multiple templates to a single RPT file providing that the objects within the template do not collide with one another. Removing a Template You can tell that a template has been applied to a report by opening the Template Expert and observing the radio buttons. If a template has been applied, you can remove it from a report by using the Template Expert and selecting the Undo The Current Template radio button. This is visible in Figure Reapplying a Template In Figure Since the template is an RPT file, you might have occasion to change the template itself.
For example, if the company logo changes or you want to add additional fields to the template, you can make the changes to the template RPT file, save them, and then come back to your report and select the Re-apply The Last Template radio button. Changes to a template are not automatically reflected in the reports that use them.
Instead, you have to actively choose to reapply the modified template. This approach to template modifications prevents older reports from being inadvertently updated. Removing a template. Previous page. Table of content.
0コメント