Crystal Reports for Rational Application Developer 设计员指南
CurrentFieldValue
说明
CurrentFieldValue 返回将要打印的字段的当前值。
返回
可返回任意字段类型
操作
CurrentFieldValue 返回将要打印的字段的当前值。
典型用法
可以使用 CurrentFieldValue 来帮助对字段元素、字段对象或交叉表汇总或标签进行条件格式设置。
示例
if CurrentFieldValue = 0 then crRed
当字段的值为 0 时,将对象的字体颜色设置为以红色打印。
注释
只有在输入字段格式设置公式时,CurrentFieldValue 才可用。
返回类型取决于公式的上下文。例如,如果对某个字符串字段进行格式设置,则 CurrentFieldValue 返回字符串类型;如果对一个日期字段进行格式设置,则 CurrentFieldValue 返回日期类型。
Business Objects,SAP 子公司
http://www.china.businessobjects.com/
支持服务
http://www.china.businessobjects.com/support/
Web 上的产品文档
http://support.businessobjects.com/documentation/