H
Hammond-Wandsworth
I'm trying to calculate a count of a date field for those records that have
been added in the past 7 days. I want to display this in a report header and
I am adding the following code to the expression builder within the control
source. The code, however, is not working. I need to calculate several fields
this way and the code is not working on any of them. An example is below:
=DCount("[Alleged Breach Date]","[Breach Table]","[Alleged Breach
Date]=TRUE")>Date()-"7"
Can anyone see any mistakes with this code? Please let me know where I'm
going wrong. Thanks.
been added in the past 7 days. I want to display this in a report header and
I am adding the following code to the expression builder within the control
source. The code, however, is not working. I need to calculate several fields
this way and the code is not working on any of them. An example is below:
=DCount("[Alleged Breach Date]","[Breach Table]","[Alleged Breach
Date]=TRUE")>Date()-"7"
Can anyone see any mistakes with this code? Please let me know where I'm
going wrong. Thanks.