Requirements:
- subreport displays one employee
- subreport displays one year's of employee data
- subreport includes a graph of all years' of employee data
Solution:
- Create an
{?Employee Name}
parameter in the the main report; link it to{TABLE.EMP_NAME}
in the subreport - Create an
{?Evaluation Year}
parameter in the main report; create an{?Evaluation Year}
parameter in the sub-report; link two parameter fields; DO NOT LINK TO DATA. - Create a graph in the sub-report that will display all years' data (for said employee); place in
header
section - In the sub-report, insert a group on
EVALUATION_YEAR
; suppress footer; create conditional formula to suppress header if{EVALUATION_YEAR}<>{?Evaluation Year}
; suppressdetails
section.