To create a formula and insert it into a report

  1. On the View menu, click Field Explorer.
  2. In the Field Explorer dialog box, select Formula Fields and click New.
  3. In the Formula Name dialog box, enter the name you want to identify the formula by, and then click OK.

    The Formula Workshop appears with the Formula Editor active.

  4. On the Expressions Editor Toolbar, choose either Crystal or Basic syntax.

    If you are unsure which syntax to choose see Formula syntax.

  5. Enter the formula by typing in the components or selecting them from the component trees.
  6. Click Check to identify any errors in the formula.
  7. Fix any syntax errors the Formula Checker identifies.
  8. When the formula has the correct syntax, click Save and close on the Formula Workshop toolbar.
  9. Select the new formula in the Field Explorer dialog box, and drag it to where you want it to appear on your report.