B
box2003
I have been trying to access a control on a sub report using the following
info, though it does not seem to be working. The sub report control is
txtEmployeeSeniority. All I get in the control on my Main Report control
that I am trying to populate, txtServiceYears, is #Name#. I have included
the below information about both reports. When I fire off the Main Report,
one of several sub reports also fire off. I am attempting to bring the
control
value of the identified sub report into the desired field on my main report.
Main Report: rptCompanyData
Main Report Control: txtServiceYears
Sub Report: rptEmployeeInfo_sub
Sub Report Control: txtEmployeeSeniority
Reports!rptCompanyData!Report!rptEmployeeInfo_sub!txtEmployeeSeniority
What am I doing wrong?
Thanks.
info, though it does not seem to be working. The sub report control is
txtEmployeeSeniority. All I get in the control on my Main Report control
that I am trying to populate, txtServiceYears, is #Name#. I have included
the below information about both reports. When I fire off the Main Report,
one of several sub reports also fire off. I am attempting to bring the
control
value of the identified sub report into the desired field on my main report.
Main Report: rptCompanyData
Main Report Control: txtServiceYears
Sub Report: rptEmployeeInfo_sub
Sub Report Control: txtEmployeeSeniority
Reports!rptCompanyData!Report!rptEmployeeInfo_sub!txtEmployeeSeniority
What am I doing wrong?
Thanks.