I have a subreport detail area that has the following detail:
Box SumOfYTDConverted
5700 1200.00
5720 1699.00
5740 2000.00
The subreport is named Sec_Combined_Test.
In my main report I have a the subreport named Sec_Combined_Test. It is small and not visible. I am trying to do the following in a particular textbox of the main report:
=IIf([Sec_Combined_Test].[Report]![Box]="5700",[Sec_Combined_Test].[Report]![SumOfYTDConverted],0)
This always results in 0. If I just do =[Sec_Combined_Test].[Report]![Box] I get 5740 in the textbox. How can I get the SumOfYTDConverted number for 5700 in this textbox from the subreport? Any help is greatly appreciated.
Dave
Box SumOfYTDConverted
5700 1200.00
5720 1699.00
5740 2000.00
The subreport is named Sec_Combined_Test.
In my main report I have a the subreport named Sec_Combined_Test. It is small and not visible. I am trying to do the following in a particular textbox of the main report:
=IIf([Sec_Combined_Test].[Report]![Box]="5700",[Sec_Combined_Test].[Report]![SumOfYTDConverted],0)
This always results in 0. If I just do =[Sec_Combined_Test].[Report]![Box] I get 5740 in the textbox. How can I get the SumOfYTDConverted number for 5700 in this textbox from the subreport? Any help is greatly appreciated.
Dave