A aoswald Registered User. Local time Today, 04:45 Joined Sep 20, 2005 Messages 45 Jan 20, 2009 #1 What forumla do I use to return entries one week on either side of today's date: thanks
pbaldy Wino Moderator Staff member Local time Today, 01:45 Joined Aug 30, 2003 Messages 36,157 Jan 20, 2009 #2 You should find functions here to find the relevant dates: http://www.pacificdb.com.au/Support/code_datetime.htm
You should find functions here to find the relevant dates: http://www.pacificdb.com.au/Support/code_datetime.htm
allan57 Allan Local time Today, 09:45 Joined Nov 29, 2004 Messages 336 Jan 20, 2009 #3 DateAdd("ww", -1, Now()) = Minus one week DateAdd("ww", 1, Now()) = Add one week
A aoswald Registered User. Local time Today, 04:45 Joined Sep 20, 2005 Messages 45 Jan 20, 2009 #4 allan57 do I just put that formula in the criteria field if yes - it didn't work
allan57 Allan Local time Today, 09:45 Joined Nov 29, 2004 Messages 336 Jan 20, 2009 #5 Place this in the criteria Between DateAdd("ww",-1,Now()) And DateAdd("ww",1,Now())
Brianwarnock Retired Local time Today, 09:45 Joined Jun 2, 2003 Messages 12,667 Jan 20, 2009 #6 The danger of using Now() instead of Date() is that it adds time into the mix, Date() defaults to 00:00:00. Brian
The danger of using Now() instead of Date() is that it adds time into the mix, Date() defaults to 00:00:00. Brian