Crystal Reports for Rational Application Developer Designer Guide
Formula1+2
Create a new formula called
Formula1+2.
Select the
Formula tab in the
Crystal Reports Designer and type the following formula:
If {CUSTOMER.CUSTOMER_NAME} [1 to 2] = "Bi" and
ToText({CUSTOMER.CUSTOMER ID}) [1] = "6" Then
"TRUE"
Else
"FALSE"
Place the formula to the right of the
@Formula4 field.
Click the
Preview tab.
Check the values in the report and
compare the fields to see if the field values returned by @Formula1+2 are
correct.
You should see "TRUE" next to each
customer whose name begins with Bi and Id begins with 6, and "FALSE" next to
all Customer IDs that do not meet this criteria.
If this formula is working correctly, you
can create one last formula adding the code from @Formula3 and @Formula4.