next 7 days (1 Viewer)

w0od0o

Registered User.
Local time
Today, 06:56
Joined
Jan 13, 2009
Messages
87
Hi,

i have a query to find all jobs with a completion date within the next 7 days with the following criteria under "completion date" but it doesnt seem to filter correctly, i thought it worked correctly on a test database but when added to the final database it seems to produce all records.

<DateAdd("d",7,Date()) Or Is Null

all help welcome

thanks

w0od0o
 

vbaInet

AWF VIP
Local time
Today, 06:56
Joined
Jan 22, 2010
Messages
26,374
Use between today's date and Date() + 7, followed by your Is Null.
 

w0od0o

Registered User.
Local time
Today, 06:56
Joined
Jan 13, 2009
Messages
87
thank you :)
 

Users who are viewing this thread

Top Bottom