【发布时间】:2011-09-14 20:40:26
【问题描述】:
我正在使用 Crystal XI,我想运行一个报告,其中承认日期在报告运行的最后 6 小时内。我不确定如何计算。
【问题讨论】:
标签: datetime crystal-reports reporting crystal-reports-xi
我正在使用 Crystal XI,我想运行一个报告,其中承认日期在报告运行的最后 6 小时内。我不确定如何计算。
【问题讨论】:
标签: datetime crystal-reports reporting crystal-reports-xi
将以下内容添加到报告的记录选择公式中:
//show all admission dates that have occurred more recently than 6 hours
//before the current date/time
//replace {table.field} w/ correct value
{table.field} >= DateAdd("h", -6, DataDate + DataTime)
【讨论】: