I have a simple Master/Detail type report that I'm trying to develop, however I'm running into a binding issues with relating the Detail to the Master. The only "advanced" part of this is that I am setting the datasource dynamically for the subreport and then creating a new InstanceReportSource. Could that possibly have something to do with it? Below is various screenshots of how I have everything setup and the results I'm getting.
1) A simple texbox on the report to display the value of the field I'm pulling from the datasource (This works)
2) The Sub Report
3) The Parameters of the ReportSource for the subreport. There is a single StudentId parameter. This is set to the same field that is being displayed (Item 1)
4) The Report Parameters of the SubReport
5) The output of the SubReport when it is run. The Date column is setup to use the StudentId parameter (Item 4)
6) The code that is being used to set the DataSource for the SubReport
Any ideas or suggestions would be Greatly appreciated! Thanks in advance!
![]()
1) A simple texbox on the report to display the value of the field I'm pulling from the datasource (This works)
2) The Sub Report
3) The Parameters of the ReportSource for the subreport. There is a single StudentId parameter. This is set to the same field that is being displayed (Item 1)
4) The Report Parameters of the SubReport
5) The output of the SubReport when it is run. The Date column is setup to use the StudentId parameter (Item 4)
6) The code that is being used to set the DataSource for the SubReport
Any ideas or suggestions would be Greatly appreciated! Thanks in advance!