Crystal Reports for Rational Application Developer 设计员指南
PrintDate
说明
PrintDate 将报表的打印日期作为一个字段加到公式中。
返回
日期值
操作
PrintDate 将报表的打印日期作为一个字段加到公式中。
典型用法
当需要显示报表的打印日期、或调整有关报表打印日期的事项时,可以使用此函数。
示例
PrintDate
创建一个含有报表打印日期的可以置于报表上的字段。使用此公式等同于使用
“字段资源管理器”
对话框中“特殊字段”(
“字段资源管理器”
对话框)文件夹中的“打印日期”字段。
If PrintDate >= CDate(1992,01,01) Then "Please excuse the delayed report." Else ""
如果报表在 1992 年 1 月 1 日之后打印,则显示有关延迟的道歉信息,如果报表在此日期之前打印,则什么也不显示。
注释
PrintDate 和
“CurrentDate”
同义。
Business Objects,SAP 子公司
http://www.china.businessobjects.com/
支持服务
http://www.china.businessobjects.com/support/
Web 上的产品文档
http://support.businessobjects.com/documentation/