I have two subreports within a report. I need to some calculation in the second subreport based on the property in the first subreport.
The way I did this is:
- Created a public property in first report
- Assigned a value of a textbox using Itemdatabound event
- Assigned the value to a variable in the master as var = report1.propertyName
- Assigned this variable to a parameter in the second report as : report2.parameter.value
- Trying to perform calculation in the report2 using the parameter value.
This isn't working. Any suggestions?
Thanking you in advance.