Hello,
I can't seem to figure out how to give a 0 value if the subreport results in a null value.
I have a report with several subreports which are based off of queries.
Some months there isn't any data in one or more of the subreports and I need it to return a 0 value instead of a null.
REASON: there's a grand total in sections where it takes 2 or more subreports totals for the grand total. It results in #Error# if one or more of the subreport has a null value.
I've tried the IIF([Value],is null,0,[value]) but it is not returning a 0 in the subreport. It still returns a #Error#.
Although depending on the query, it does work but if the result of the entire query is nothing, is where I am lost in all this.
I hope I made sense and someone can help me here.
I can't seem to figure out how to give a 0 value if the subreport results in a null value.
I have a report with several subreports which are based off of queries.
Some months there isn't any data in one or more of the subreports and I need it to return a 0 value instead of a null.
REASON: there's a grand total in sections where it takes 2 or more subreports totals for the grand total. It results in #Error# if one or more of the subreport has a null value.
I've tried the IIF([Value],is null,0,[value]) but it is not returning a 0 in the subreport. It still returns a #Error#.
Although depending on the query, it does work but if the result of the entire query is nothing, is where I am lost in all this.
I hope I made sense and someone can help me here.