D
dgk
VS2005. I've spent two days trying to figure out how to do a simple
master/detail report using ReportViewer and am just about ready to
punt. This is something that really should have been
drag/drop/relationship but no.
I've finally figured out that I need to use a subreport but I can't
figure out how to set the datasource of the localreport object since
it only seems to want a datatable and I have a function that is
returning a list (of myobjects).
If anyone has any idea how to set up the relationship (I'm trying to
use a parameter and/or a filter) or how to set the datasource for the
subtable, please let me know.
I guess I can try dumping all the detail records into a datatable at
run time and using that. I doubt it will work. I'm ready to go back to
VB3.
master/detail report using ReportViewer and am just about ready to
punt. This is something that really should have been
drag/drop/relationship but no.
I've finally figured out that I need to use a subreport but I can't
figure out how to set the datasource of the localreport object since
it only seems to want a datatable and I have a function that is
returning a list (of myobjects).
If anyone has any idea how to set up the relationship (I'm trying to
use a parameter and/or a filter) or how to set the datasource for the
subtable, please let me know.
I guess I can try dumping all the detail records into a datatable at
run time and using that. I doubt it will work. I'm ready to go back to
VB3.