I need to change a field in a sub report of Job Traveler.
The main report is Traveler
subreport is Traveler_Shipping_Schedule
I want to add ReqDueDate to the subreport. The field is used in the main report, but is not in the dataset of the subreport. I think I want to pass the value of ReqDueDate in parameter. I have added the parameter according to Microsofts documentation…
I save the main report and print and the subreport no longer is displayed. I have made no changes to the subreport at this time. I remove the parameter and the report prints with subreport.
I have tried to add the parameter added in the main report to the subreport and the subreport isn’t displayed.
BTW - I often will temporarily change the background color of objects on a report. It helps to ensure you’re even working on the right report or section of the report.
Subreport parameters are used to filter data in the subreport.
If what you want is to display new information in the subreport you need to modify the Dataset query to include it, add the Field and then add the controls to show it.
EDIT: Taking a closer look I see that the subreport only uses JobShip and ReqDueDate comes from JobHead, since this is a static field(there can only be one ReqDueDate value for the entire subreport) you should use the steps provided by @ckrusen to display the parameter in a textbox control.