Hi there, I am sure there is an easy answer for this... but please bear with me...
I have a hr database with a query called 'qrytotalleave', I have several fields on it, two of which are made up of expressions.
As follows:
Leave Total Hours: Sum(IIf([leave start time]>[leave end time],(#23:59:59#-[leave start time])+[leave end time],[leave end time]-[leave start time]))
and
Leave Total Days Taken: Sum(DateDiff("d",[leave start date],[leave end date]))
When I run the query, it does not bring up employees who have a null value in either of these fields.
I'm not sure how to get it to run where it will show all employees, with values in either field, not having to have values in both.
Please help!
Thank you!
Leah
I have a hr database with a query called 'qrytotalleave', I have several fields on it, two of which are made up of expressions.
As follows:
Leave Total Hours: Sum(IIf([leave start time]>[leave end time],(#23:59:59#-[leave start time])+[leave end time],[leave end time]-[leave start time]))
and
Leave Total Days Taken: Sum(DateDiff("d",[leave start date],[leave end date]))
When I run the query, it does not bring up employees who have a null value in either of these fields.
I'm not sure how to get it to run where it will show all employees, with values in either field, not having to have values in both.
Please help!
Thank you!
Leah