T
Tonia King
I'm trying to work out an expression that will return the number of records
in a table that were added in the current week (Sun-Sat). I have a date
field in the table.
I have tried using a string I found on the forum (below), which was for
quarters, tweaking for weeks, but am new to more complicated expressions and
it returns an error.
=DCount("*","tblRequests","[Date]>=" &
Format(DateSerial(Year(Date()),3*(DatePart("ww",Date())-1)+1,1),"#mm\/dd\/yyyy#"))
Any help most gratefully received.
Tonia
in a table that were added in the current week (Sun-Sat). I have a date
field in the table.
I have tried using a string I found on the forum (below), which was for
quarters, tweaking for weeks, but am new to more complicated expressions and
it returns an error.
=DCount("*","tblRequests","[Date]>=" &
Format(DateSerial(Year(Date()),3*(DatePart("ww",Date())-1)+1,1),"#mm\/dd\/yyyy#"))
Any help most gratefully received.
Tonia