Groups | Blog | Home
all groups > vb.net controls > february 2007 >

vb.net controls : Reportviewer / RDLC reports on related datatables


ralph sanchez
2/2/2007 3:16:48 PM
My Windows Forms application reads its data from XML files into a number of
datatables which are related as defined by the schema (in an XSD). Using
Visual Studio 2005 Standard, I'd like to build some reports to display the
data that my application calculates. I've never used the ReportViewer
control and RDLC controls, but it would seem to lend itself to my situation.
Unfortunately, there doesn't appear to be very much documentation on the
capabilities of this feature. Can subreports contain nested subreports?
The online documentation doesn't even address this. Furthermore, I'm
having trouble getting subreports to work when just going "one deep" in a
relationship, and the errors which are displayed on the form aren't thorough
enough to point me in the right direction (such as "Error: subreport could
not be shown").

Keeping in mind that my dataset contains numerous related datatables which
only exist in memory while the application is running, can anyone recommend
a book or website that gives thorough examples of using the ReportViewer
control with RDLC reports (and subreports)?

Thanks in advance,
Ralph Sanchez
www.texupport.net

RobinS
2/2/2007 10:20:29 PM
I have only seen this in *one* VB book -- Tim Patrick's "Start-To-Finish
VB2005". He gives a few examples of how to use it.

I think it is derived from SQLServer2005 Reporting Services, though, so
maybe that would help as well.

Good luck.

Robin S.
Ts'i mahnu uterna ot twan ot geifur hingts uto.
-----------------------------------------------
[quoted text, click to view]

ralph sanchez
2/6/2007 8:31:19 AM
Thanks for the info, Robin. I picked up the book that you suggested and
it's mostly got me on the right track.


[quoted text, click to view]

RobinS
2/6/2007 9:10:28 AM
Cool. I'm glad. I can't believe nobody else talks about that, and I have
about 15 different books, about a dozen of which as on VB.Net.

Robin S.
Ts'i mahnu uterna ot twan ot geifur hingts uto.
-----------------------------------------------
[quoted text, click to view]

AddThis Social Bookmark Button