Hi, All--
I am having a "sudden" problem with a text box expression on a report where I get an "error" return where previously I received a value. These expressions did work in the past and I don't know what I did that would have changed anything. I have tried simplifying (just doing a simple DSum expression) as a test but still get the "error" result. The expression is supposed to return a zero or a count when meeting the criteria. I have checked and rechecked the query and field names (like I said, it had worked before). Any thoughts?
Here is the expression:
=IIf(IsNull(DSum("[YTD]","qryIncidentLog-Year-crosstab","[UrgencyID]=3")),0,DSum("[YTD]","qryIncidentLog-Year-crosstab","[UrgencyID]=3"))
Thanks.
I am having a "sudden" problem with a text box expression on a report where I get an "error" return where previously I received a value. These expressions did work in the past and I don't know what I did that would have changed anything. I have tried simplifying (just doing a simple DSum expression) as a test but still get the "error" result. The expression is supposed to return a zero or a count when meeting the criteria. I have checked and rechecked the query and field names (like I said, it had worked before). Any thoughts?
Here is the expression:
=IIf(IsNull(DSum("[YTD]","qryIncidentLog-Year-crosstab","[UrgencyID]=3")),0,DSum("[YTD]","qryIncidentLog-Year-crosstab","[UrgencyID]=3"))
Thanks.