I have an equation on a subform to add up the number of vacation days scheduled. The equation is
=Sum([Duration by Day])
It works if the person has a vacation day scheduled, but if they don't I'm getting #Error.
I tried to fix it by writing =iif(isnull(Sum([Duration by Day]))=true, 0, Sum([Duration by Day]), but this still results in an error.
How can this text box have no value, but not be null?
Please help me fix this error
=Sum([Duration by Day])
It works if the person has a vacation day scheduled, but if they don't I'm getting #Error.
I tried to fix it by writing =iif(isnull(Sum([Duration by Day]))=true, 0, Sum([Duration by Day]), but this still results in an error.
How can this text box have no value, but not be null?
Please help me fix this error