Crystal Reports for Rational Application Developer Designer Guide
Formula2
Create a new formula called Formula2.
Select the
Formula
tab in the
Crystal Reports
Designer and type the following formula:
If ToText({customer,CUSTOMER ID}) [1] = "6" Then "TRUE" Else "FALSE"
There is an X in the margin. When you move the pointer over the X, you will see the following error message:
This field name is not known.
Correct the formula by replacing the comma (,) in the field name with a period (.).
When the formula is correct, the X will no longer be displayed.
Place the formula beside the @Formula1 field.
Click the
Preview
tab.
Check the values in the report and compare the fields to see if the field values returned by @Formula2 are correct.
You should see "TRUE" next to all customer numbers that begin with 6 and "FALSE" next to all customer numbers that do not begin with 6.
Proceed to
Formula3
.
Business Objects, an SAP company
http://www.businessobjects.com/
Support services
http://www.businessobjects.com/services/support/
Product Documentation on the Web
http://support.businessobjects.com/documentation/