Crystal Reports for Rational Application Developer 设计员指南

在范围中运算符

注释
“生成范围运算符 (x To y)”与“在范围中”运算符的组合常与 If-Then-Else 运算符一起使用。例如 Crystal 语法的公式:
If ({file.AMOUNT} in (100.00 to 250.00)) Then
(.10 * {file.AMOUNT})
Else
0; 
如果 {file.AMOUNT} 的值在 100.00 到 250.00 之间,则将 {file.AMOUNT} 乘以 .10。如果不在此范围内,则返回零。



Business Objects,SAP 子公司
http://www.china.businessobjects.com/
支持服务
http://www.china.businessobjects.com/support/
Web 上的产品文档
http://support.businessobjects.com/documentation/