Anyone use ReportViewer with Business Objects?

  • Thread starter Thread starter dgk
  • Start date Start date
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.
 
dgk said:
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.


I haven't been able to figure out how to bind a datatable to a
reportviewer. I had to go back to crystal reports to do it. Instead of
going back to VB3 you might try using the crystal report viewer, there
is much more documentation about that control around.

Chris
 
I haven't been able to figure out how to bind a datatable to a
reportviewer. I had to go back to crystal reports to do it. Instead of
going back to VB3 you might try using the crystal report viewer, there
is much more documentation about that control around.

Chris

I'm really ready to hardcode the whole thing in PrintDocument but
perhaps crystal.
 
...

dgk said:
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.

try this one...
http://www.gotreportviewer.com/masterdetail/index.html
 
Back
Top