ifthenelsenull
Technical User
I need to pass a value from the main report to a subreport's parameter. The main report pulls in all employees and the sub report is set up to return specific data to that employee using a parameter of their employee number.
The main report field is employee_id and the subreport parameter is @employee_id
When I create the sub report it runs fine but when I go to link it to the main report the parameter in the subreport is not available to be chosen so the main report ends up creating a second parameter in the subreport which then prompts twice instead of passing the data.
How can I pass data from a field in the main report to a parameter in a subreport aka "what am I doing wrong".
The main report field is employee_id and the subreport parameter is @employee_id
When I create the sub report it runs fine but when I go to link it to the main report the parameter in the subreport is not available to be chosen so the main report ends up creating a second parameter in the subreport which then prompts twice instead of passing the data.
How can I pass data from a field in the main report to a parameter in a subreport aka "what am I doing wrong".