How To: Create a Crystal Report template
Most Crystal Report files can be used as templates. Some types of report files, such as Mailing Label reports, are not 'standard' reports, and cannot be used with the ESRI wizard that ships with ArcGIS 8.1. In this case, you must use the Crystal Reports designer, installed with Crystal Reports, to create the report.
Once a non-standard report is created, it cannot be used as a template for the reason mentioned above.
A report file as a template and reports created with the ESRI Crystal Report wizard with the ESRI Crystal Report wizard, use the same source database. Follow the procedure below to create a report template.
- Select Tools -> Reports -> Crystal Report Wizard from ArcMap.
- Select the layers you want to use in your report template.
- Enter the GeoDatabase file name you want to use with your template. When you click the <Next> button, the GeoDatabase is created for you. After the next dialog is displayed, you can click Cancel; this step is just to create the GeoDatabase.
- Select File -> New from Seagate Crystal Reports and select the type of report you want from the report gallery.
- Click OK.
- Click Database and select the GeoDatabase you created in step 1. If you don't see the GeoDatabase listed in the Data Explorer's file list, you can add it by selecting 'Find Database File' under 'Database Files' and clicking Add. If you created the GeoDatabase in the default location, you will find the GeoDatabase in the 'ESRI Crystal Reports' folder under My Documents.
- Select the fields you want for your report from the GeoDatabase.
- Click Add, and close the Data Explorer dialog.
- Proceed through the rest of the wizard steps to create and customize your report as desired.
- Go back to ArcMap.
- Start the ESRI Crystal Report wizard, and you can then use the report you created as a template. Be sure to include the same layers you selected for your template.