G
Guest
Hi
I have 2 date fields eg date1 and date 2. I would like to create an
expression in access query with if and else statement to count the number of
day diff between date 1 and date 2.
If the expression WTime : (sum(4-([date 1]-[date 2]))) is positive value
– display the positive value, if the sum is equal to a negative value – to
display it as ‘0†value.
Do you have an idea how to write in the query?
I have 2 date fields eg date1 and date 2. I would like to create an
expression in access query with if and else statement to count the number of
day diff between date 1 and date 2.
If the expression WTime : (sum(4-([date 1]-[date 2]))) is positive value
– display the positive value, if the sum is equal to a negative value – to
display it as ‘0†value.
Do you have an idea how to write in the query?