我使用Crystal Reports 12.3和Peachtree Account 2012来管理一些数据库。我现在的任务只是编写一份报告,其中载有过去30天没有下订单的客户。我最近才来,因此我请求你的帮助。
我的第一个尝试是使用这个公式( 我在公式编辑器 - & gt; 记录选择中做我所有的东西):
not ({Customers. lastInstvoiceDate} 年龄为0至30天)
({Customers. lastInvoiceDate})
除了无效值之外,一切似乎都很好。 我需要将无效值包含在报告记录中。 所以我将公式改写为 :
not ({Customers. lastInvoiceDate} ({Customers. lastInvoiceDate} ) 于 ged0 to30 days) OR IsNull ({Customers. lastInvoiceDate})
({Customers. lastInvoiceDate}) 或 or IsNull ({Customers.{Customers. lastInvoiceDate} ) ({Customers. lastInvoiceDate} /code> 。
但在2012年Peachtree会计中,我看到一个客户有一个空白的 LastInvoiceDate
字段,该字段不在报告内。
我最后的公式中是不是有某种错误? 或者"日期时间"类型有"其他"黑值吗?