Subject:
These steps here describe how to set a Report Table Field equal to a Report Parameter in a Crystal Report using a Record Selection Formula.
Resolution:
The steps are as follows:
- Open the Crystal Reports program.
- Go to File | Open, browse to the location of your Crystal Report, select it, and then click Open.
- Go to Report | Selection Formulas | Record.
- Expand Report Fields.
- Double click on the specific Table Field to add it to the formula.
- Expand Operators and then expand Comparisons.
- Double click on Equal to add it to the formula.
- Expand Report Fields.
- Double click on the specific Parameter to add it to the formula.
- Click Save and close.
Notes:
Here is a specific example for a Purchase Order report.
- Open the Crystal Reports program.
- Go to File | Open, browse to the location of your Crystal Report, select it, and then click Open.
- Go to Report | Selection Formulas | Record.
- Expand Report Fields.
- Double click on Table Field, POP10100.PONUMBR, to add it to the formula.
- Expand Operators and then expand Comparisons.
- Double click on Equal to add it to the formula.
- Expand Report Fields.
- Double click on the Parameter, po number, to add it to the formula.
- Click Save and close.