Date range of [datefield] minus 1 year

Stacey

Registered User.
Local time
Today, 11:39
Joined
Sep 10, 2002
Messages
84
I have been looking through the search results using various phrases to try to find what I need. I probably have found it but just don't know how to apply it. I have a Date_Created field to pull back payment information. There is another field, SignDate, on another table. I need to pull back any payments between the SignDate and a year prior. There are many records, with different SignDate's. I was messing with the DateSerial function, but I just don't know how to make it work. Both the Date_Created and SignDate fields are formatted as mm/dd/yyyy.

Sorry if this has been answered and I'm just not getting it.
 
use

Between (dateadd ( "y", -1, [sign date])) AND [Sign date]
 
Thanks for your reply.

However, with the SignDate as 9/5/2006, Between (dateadd ( "y", -1, [SignDate])) AND [SignDate] is bringing back everything greater than 9/5/2006 in the results.
 
Should be:
...(dateadd ( "yyyy"

"y" refers to Day of Year.

Bob
 

Users who are viewing this thread

Back
Top Bottom