G
Guest
Hi,
I need a query that will count the number of records that will be returned
over the last 12 month period from Now() or similar.
The field I want to count is "Staff No". The other relevant field is "Date".
This field is in the format "dd/mm/yyyy" for Australia.
I need to count how many entries (records) there are, based on the "Staff
No" field, for the last 12 months. I also need this to be a rolling 12 month
period.
The problem I'm having is it returns a Count of "1" for every "Date" when I
do a "DateDiff" or "DateAdd" criteria instead of a total for that individual
"Staff No" for the 12 month period.
Your help will be much appreciated and help me avoid a lot of sleepless
nights.
TIA,
Kevin
I need a query that will count the number of records that will be returned
over the last 12 month period from Now() or similar.
The field I want to count is "Staff No". The other relevant field is "Date".
This field is in the format "dd/mm/yyyy" for Australia.
I need to count how many entries (records) there are, based on the "Staff
No" field, for the last 12 months. I also need this to be a rolling 12 month
period.
The problem I'm having is it returns a Count of "1" for every "Date" when I
do a "DateDiff" or "DateAdd" criteria instead of a total for that individual
"Staff No" for the 12 month period.
Your help will be much appreciated and help me avoid a lot of sleepless
nights.
TIA,
Kevin