Ok ...
I have a bunch of subreports each presenting different data.
It goes by sales report with different categories.
Lets say I am trying to total for each rep Cat A and Cat B.
Each rep might not have any data returned in the subreport for one or the other. So I was trying to do the following -
=IIf([qryMarcCTRPRev subreport].[Report]![Jan]>"1",[qryMarcCTRPRev subreport].[Report]![Jan]+[Jan],[Jan])
This works but ... condition is false it does not populate [jan] into the total. Instead it puts #error.
Any thoughts on a better way to write this? Basically I want to search if a value exists in the subreport for that rep. If it does add them together. If not just use the first value.
I have a bunch of subreports each presenting different data.
It goes by sales report with different categories.
Lets say I am trying to total for each rep Cat A and Cat B.
Each rep might not have any data returned in the subreport for one or the other. So I was trying to do the following -
=IIf([qryMarcCTRPRev subreport].[Report]![Jan]>"1",[qryMarcCTRPRev subreport].[Report]![Jan]+[Jan],[Jan])
This works but ... condition is false it does not populate [jan] into the total. Instead it puts #error.
Any thoughts on a better way to write this? Basically I want to search if a value exists in the subreport for that rep. If it does add them together. If not just use the first value.