Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display report based on dataset
Message
General information
Forum:
ASP.NET
Category:
Reporting
Miscellaneous
Thread ID:
00893420
Message ID:
00894125
Views:
17
Tim,

Glad to hear you were able to get it to work.

Actually, I should have looked at your original code further...anytime I do a report, I always use SetDataSource for each data table, both in the main report as well as any subreports.


I'm not sure if the docs explicitly say that this needs to be done...but I've seen sample code that does this, so that's the way I've always coded reports. Actually, I create an array of tables used for the report, and have a generic report class handler that loops through the array and sets the data source.

It is a bit irritating, but when you think about it, if you don't explicity tell CR.NET where EVERY table is coming from (even ones that are blank), CR will resort to whatever was specified in the designer (or what it thinks was given to it).

Kevin
Previous
Reply
Map
View

Click here to load this message in the networking platform