Crystal Reports for Eclipse Designer Guide

To incorporate a parameter into a formula

  1. In the "Field Explorer" view, right-click Parameters, and then click New.
  2. Enter a name for the parameter, and then click Enter.
  3. In the "Field Explorer" view, right-click Formulas and click New.
  4. Enter a name for the formula, and then click Enter.
  5. Click the Formulas tab, and create a formula using the parameter field as you would any constant value.
    For example, rather than creating a formula that hard-codes the country name:
    {customer.COUNTRY} = "USA"
    
    Use a parameter field instead of "USA".
    {customer.COUNTRY} = {?Country}
    

    Tip: Identify parameter fields easily by looking for (?).
  6. In the "Field Explorer" view, drag the formula into the report.
  7. Click the Preview tab to see the report.
    A dialog box appears, prompting you for values.



SAP BusinessObjects
http://www.sap.com/sapbusinessobjects/
Support services
http://service.sap.com/bosap-support/
Product Documentation on the Web
http://help.sap.com/