The Following statement below that I place in a text box control source works if their are values that meet the criteria.
But if no criteria are found I get an #error statement instead of 0. How can I resolve this issue??
Newbie in search of knowledge
But if no criteria are found I get an #error statement instead of 0. How can I resolve this issue??
Code:
=Format(DSum("(([logout]-[login])*24)","tblLogInOut","[activity]='work' and [employeeID]=reports!rptBiWeekly!txtEmployeeID "),"#.00")
Newbie in search of knowledge