Hi,
A few weeks ago I posted a question as to how to get data from a sub report back to a main report. It works fine. However, there are times when the subreport does not bring back any data, therefore, the number I am using for a calculation does not exist and I get an error. I tried using the IIF and ISNULL but it is not working. See below
=IIf(IsNull([RptReclamationStoreDetailSubType2And3].[Report].[txtType2And3Qty]),0,1)
I am always getting the "1" condition whether I have data or not. Obviously I want to replace the 1 with
([RptReclamationStoreDetailSubType2And3].[Report].[txtType2And3Qty] when I am done but I am just trying to keep it simply.
What am I doing wrong? I am losing it and it is only Tuesday.
Thanks,
Remember when... everything worked and there was a reason for it?
A few weeks ago I posted a question as to how to get data from a sub report back to a main report. It works fine. However, there are times when the subreport does not bring back any data, therefore, the number I am using for a calculation does not exist and I get an error. I tried using the IIF and ISNULL but it is not working. See below
=IIf(IsNull([RptReclamationStoreDetailSubType2And3].[Report].[txtType2And3Qty]),0,1)
I am always getting the "1" condition whether I have data or not. Obviously I want to replace the 1 with
([RptReclamationStoreDetailSubType2And3].[Report].[txtType2And3Qty] when I am done but I am just trying to keep it simply.
What am I doing wrong? I am losing it and it is only Tuesday.
Thanks,
Remember when... everything worked and there was a reason for it?