Crystal Reports for Rational Application Developer Designer Guide

In Range operator

Comments
The combination of Make Range operator (x To y) and In Range operators is often used with the If-Then-Else operator. For example the Crystal syntax formula:
If ({file.AMOUNT} in (100.00 to 250.00)) Then
     (.10 * {file.AMOUNT})
Else
     0; 
If the value of {file.AMOUNT} falls within the range 100.00 to 250.00, multiply .10 times {file.AMOUNT}. If it does not, it returns zero.



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/