Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display report based on dataset
Message
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Divers
Thread ID:
00893420
Message ID:
00894125
Vues:
13
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform