Operation Manual
Contents
Crystal Reports User’s Guide 17
Applying conditional formatting using parameter fields . . . . . . . . . . . 462
Creating a report title using parameter fields . . . . . . . . . . . . . . . . . . . 463
Specifying single or ranges of values . . . . . . . . . . . . . . . . . . . . . . . . 464
Incorporating a parameter into a formula . . . . . . . . . . . . . . . . . . . . . . 465
Defining sort order using parameter fields . . . . . . . . . . . . . . . . . . . . . 466
Defining entry type and format using the Edit Mask . . . . . . . . . . . . . 467
Chapter 24 Subreports 469
What are subreports? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
Unlinked vs. linked subreports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
How subreport linking works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
Database links vs. subreports in one-to-many situations . . . . . . . . . . 472
Inserting subreports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
Previewing subreports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
Saving a subreport as a primary report . . . . . . . . . . . . . . . . . . . . . . . 474
Updating subreports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
Linking a subreport to the data in the primary report . . . . . . . . . . . . . . . . 475
Linking a subreport to the main report without modifying
the selection formula . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477
Combining unrelated reports by using subreports . . . . . . . . . . . . . . . . . 478
Combining two or more unrelated reports . . . . . . . . . . . . . . . . . . . . . 478
Using subreports with unlinkable data . . . . . . . . . . . . . . . . . . . . . . . . . . . 479
Linking to/from a formula field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479
Linking unindexed tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480
Creating an on-demand subreport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481
Adding captions to on-demand subreports . . . . . . . . . . . . . . . . . . . . 481
Showing different views of the same data in a report . . . . . . . . . . . . . . . 482
Chapter 25 Understanding Databases 483
Databases overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484
Relational database basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484
Aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
Locating files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486