Hi,
I need to create a query that will report all records that occur within 5 days of the current date.
I've tried the following syntax with no real joy:
>now()-"5"
Returns all records greater than the current date - Seems to ignore the "-5".
>now()+"5"
Same as above.
Between Date() And Date()+"6"
I've had to enter "6" to include the fifth day after today - unfortunatly this syntax also returns dates where it is just the day date that is within 5 days. i.e. as well as returning 17/02/07 it would return records that are dated 17/03/07 - 18/04/07 - 16/05/07 etc...
Between Date() And (Date()+Date(6))
Same as above.
If anybody can advise me I would really appreciate it.
Cheers
I need to create a query that will report all records that occur within 5 days of the current date.
I've tried the following syntax with no real joy:
>now()-"5"
Returns all records greater than the current date - Seems to ignore the "-5".
>now()+"5"
Same as above.
Between Date() And Date()+"6"
I've had to enter "6" to include the fifth day after today - unfortunatly this syntax also returns dates where it is just the day date that is within 5 days. i.e. as well as returning 17/02/07 it would return records that are dated 17/03/07 - 18/04/07 - 16/05/07 etc...
Between Date() And (Date()+Date(6))
Same as above.
If anybody can advise me I would really appreciate it.
Cheers