To add a caption

  1. Select the subreport and click the Format button on the Expert Tools toolbar.

    The Format Editor dialog box appears.

  2. Click the Subreport tab.
  3. You can enter either an on-demand subreport caption or a preview tab caption by clicking the appropriate Formula button and opening the Formula Workshop.
  4. Enter your formula in the Formula text box.

    Crystal syntax formula example:

    "More Information About " + {Customer.Customer Name}

    Basic syntax formula example:

    formula = "More Information About" + {Customer.Customer Name}

    Using the Xtreme.mdb sample database, these formulas would give you a caption like "More Information About Pathfinders" or "More Information About Rockshocks for Jocks."

  5. Click Check to check the formula for errors. If the program finds an error, it will prompt you with a message box detailing the nature of the error.
  6. After fixing any errors, click Save and close.
  7. Click OK to return to the report.