Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple Reports using filters
Message
De
14/09/2006 15:42:30
 
 
À
14/09/2006 14:15:50
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
VB 8.0
Database:
Visual FoxPro
Divers
Thread ID:
01153132
Message ID:
01153826
Vues:
21

' ReportClassDetail is a variable linking to the Crystal Report file
' view_Detailed is the Crystal Report viewer
ReportClassDetail.SetDataSource(dtMyFilteredTable)
Me.view_Detailed.ReportSource = ReportClassDetail

Unfortunately, none of the subreports displayed any data. Only the main report show any records. Thanks anyways for the prompt reply.


Hi, Erik

You just need to do one more thing...set the datasource for the subreport.

I have a generic routine that goes like this (it just examines any subreport objects in the main report object):
foreach(ReportDocument oSubReport in oMainReport.Subreports) 
    // and then set the datasources for oSubReport in the same way
Give that a try...
Kevin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform