Crystal Reports 9,: Level 200
Crystal Reports 9,: Level 200
Crystal Reports 9,: Level 200
Proficient Level
Updated 12/14/05
EXCEL SAMPLE: C:\Program Files\Crystal Decisions\Crystal Reports 9\Samples\En\Databases\xtreme.xls ACCESS SAMPLE: C:\Program Files\Crystal Decisions\Crystal Reports 9\Samples\En\Databases\xtreme.mdb 1. 2. 3. 4. 5. When in Excel or Access, go to Tools Crystal Report Wizard OR click Click Range Select and then click somewhere inside the database. in Excel.
Expand the selected range automatically. The range database will appear. Click Click Create Crystal Report . The Crystal Report 9 Wizard opens. Choose the information to display on the report Under Available Fields: select the fields to display, then click > to add the fields to the list. Next > 6. Group the information on the report Under Available Fields: select the fields to display, then click > to add the fields to the list. Next > 7. Add summary information to the report For the Group: select the group to summarize from the drop-down list, then select the function from the drop-down list. Select Add Grand Totals to add a grand total in the Report Footer. Next > 8. Sort the group based on the summarized fields This is the Top N Sorting. Select the way to sort, the field to sort by and the sort order. Next > 9. Select a subset of information to display on the report From Available Fields: select the field to filter, then click > to add the field to the Filtered Fields: list. Select the comparison operator from the drop-down list and then add the criteria. Next > 10. Add style to the report Type the Report Title: and select a style Next > 11. Choose how to save the report, then view it Click Browse to navigate to the drive and folder to store the file. How would you like to view the report? Select: Preview (read-only), Edit with Crystal Report Designer, or View Later
Finish
Crystal Reports 9
Level II, Proficient
6.
page 2
Crystal Reports 9
Level II, Proficient
allow up to 250 values. For more, import a pick list. Click OK to return to the Create Parameter Field dialog box.
Click OK when finished.
page 3
Crystal Reports 9
Level II, Proficient
2. 3. 4.
page 4
Crystal Reports 9
Level II, Proficient
EXAMPLE
If {?Sort Parameter} = City then {Customer.City} else if {?Sort Parameter} = Region then {Customer.Region} else {Customer.Customer Name} Save and close formula. Open Sort Expert and add the Sort Formula to the Sort Fields: list, then click OK .
5. 6.
page 5
Crystal Reports 9
Level II, Proficient
Advanced Linking
Add a Table Twice to a Report and Create an Alias
1. 2. 3. 4. 5. Open the Database Expert and add the table to be used again. Select the table name (i.e. TableName_1), then click the name again to edit. Type the tables alias name then press ENTER. On the Links tab, click Clear Links and then click Yes . Create a link from the primary key of the original table to the primary key of the alias table. Click OK and then Cancel .
page 6
Crystal Reports 9
Level II, Proficient
7. 8.
3.
OR
1. 2. 3. 4.
Select a summary field and open the Select Expert. Select a comparison operator and a parameter for comparison. Click OK when finished. Save the report and refresh the data. Data is hidden, not filtered!
page 7