beautypg.com

Using if statements in selection formulas – HP Intelligent Management Center Standard Software Platform User Manual

Page 207

background image

Check your selection formula closely, and make sure that the spaces in the
selection formula match the spaces in the fields you are trying to match.

Using If statements in selection formulas

When creating record selection formulas that include If statements, always
include the Else keyword; otherwise, no records or unexpected records may
be returned. For example, a record selection such as If {parameter
field} = "less than 100" then {field} < 100

evaluates as

False and returns no records. To correct this problem, complete the formula
with Else True.

Crystal Reports 2008 SP3 User's Guide

207

9

Record Selection

Troubleshooting record selection formulas