Lifeseeker
Registered User.
- Local time
- Today, 14:46
- Joined
- Mar 18, 2011
- Messages
- 273
Hi,
It seems that Access doesn't have countif function.
I would like you guys to take a look at the example below and see if it is right or wrong:
So basically I need a count of all the cases where the time difference is less than 48 hours. Code is as follows:
select count((iif(datediff("h",[start date], [abc_result_time])<= 48,1,0))) as abc_result_time_cases
from tbl_abc;
Will this pick up all the "1" cases where the time difference is below 48 hours?
Thank you
It seems that Access doesn't have countif function.
I would like you guys to take a look at the example below and see if it is right or wrong:
So basically I need a count of all the cases where the time difference is less than 48 hours. Code is as follows:
select count((iif(datediff("h",[start date], [abc_result_time])<= 48,1,0))) as abc_result_time_cases
from tbl_abc;
Will this pick up all the "1" cases where the time difference is below 48 hours?
Thank you