Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to write dim 3 crystalreport in a form?
Message
De
11/02/2011 23:53:22
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Titre:
How to write dim 3 crystalreport in a form?
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP
Application:
Desktop
Divers
Thread ID:
01499855
Message ID:
01499855
Vues:
110
HI , ALL
i have a big question, i have a four checkbox... If i want to user checked either
checkbox,then will display independent report, i think code is definition problem,
i definition dim in if function........ but i don't know how can i do?
  If caller.ChkboxRspBot.Checked = True And caller.ChkboxRspCtn.Checked = True And caller.ChkboxWspBot.Checked = True And caller.ChkboxWspCtn.Checked = True Then
            Dim crReport As New CrystalReport1()
            crReport.Load(aaa & "\CrystalReport1.rpt")
        ElseIf caller.ChkboxRspBot.Checked = True Or caller.ChkboxRspCtn.Checked = True Then
            Dim crReport As New RSP()
            crReport.Load(aaa & "\RSP.rpt")
        ElseIf caller.ChkboxWspBot.Checked = True Or caller.ChkboxWspCtn.Checked = True Then
            Dim crReport As New WSP()
            crReport.Load(aaa & "\WSP.rpt")
        End If

Dim repDB As Database = crReport.Database       
crReport.SetDataSource(SENSDataSet)
CrystalReportViewer1.ReportSource = crReport
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform