0

我正在使用 Crystal XI,我想运行一个报告,其中承认日期在报告运行的最后 6 小时内。我不确定如何计算。

4

1 回答 1

2

将以下内容添加到报告的记录选择公式中:

//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)
于 2011-09-14T21:38:06.403 回答