G
Guest
Hi,
I have a query with a date field. I want the criteria to return all the
records with the date beween the first day and the last day of two months ago.
Example: today's date is 12/10/2004, I want my query to return all the
records whose date is between 10/1/2004 and 10/31/2004. If today's date was
the 1/25/2005, the date should be between 11/1/2004 and 11/30/2004.
I tried to mess around with DateAdd but I cant seem to find a solution.
Thank you for your help.
Alec
I have a query with a date field. I want the criteria to return all the
records with the date beween the first day and the last day of two months ago.
Example: today's date is 12/10/2004, I want my query to return all the
records whose date is between 10/1/2004 and 10/31/2004. If today's date was
the 1/25/2005, the date should be between 11/1/2004 and 11/30/2004.
I tried to mess around with DateAdd but I cant seem to find a solution.
Thank you for your help.
Alec