Crystal Reports for Eclipse Designer Guide
To incorporate a parameter into a formula
In the
"Field Explorer"
view, right-click
Parameters
, and then click
New
.
Enter a name for the parameter, and then click
Enter
.
In the
"Properties"
view, complete the parameter.
For more information, see
Creating a parameter field
.
In the
"Field Explorer"
view, right-click
Formulas
and click
New
.
Enter a name for the formula, and then click
Enter
.
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 (?).
In the
"Field Explorer"
view, drag the formula into the report.
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/