Accessing SubReport Data | SQL Server Performance Forums

SQL Server Performance Forum – Threads Archive

Accessing SubReport Data

I am trying to access some data from a subreport and display it on the main report. The code I am using is =subAcctMgrComm.TextBox4.Value Where subAcctMgrComm is the Name of the subreport and [i[TextBox4 is the name of a textbox on the subreport. The error I keep getting is: The value expression for the textbox ‘textbox29#%92 contains an error: BC30451 Name ‘subAcctMgrComm’ is not declared. I have verified that this is the name of the object on the report. Thanks,
Jim
]]>