mkelly
Registered User.
- Local time
- Yesterday, 19:11
- Joined
- Apr 10, 2002
- Messages
- 213
I have a database the logs [start date] and then [test date]. I want to run a query for a report that will calculate how many days between [start date] and [test date] and then report it in 4 catagories on a report.
for example
if it is greater than 1 but less than 30 I want it to be catagory 1
if it is equal to 30 but less than 60 I want it to be catagory 2
if it is equal to 60 but less than 90 I want it to be catagory 3
if it is equal to 90 (or [test date] is null) I want it to be catagory 4
Any help greatly appriciated.
Thanks
for example
if it is greater than 1 but less than 30 I want it to be catagory 1
if it is equal to 30 but less than 60 I want it to be catagory 2
if it is equal to 60 but less than 90 I want it to be catagory 3
if it is equal to 90 (or [test date] is null) I want it to be catagory 4
Any help greatly appriciated.
Thanks