Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to write dim 3 crystalreport in a form?
Message
From
11/02/2011 23:53:22
 
 
To
All
General information
Forum:
ASP.NET
Category:
Reporting
Title:
How to write dim 3 crystalreport in a form?
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Application:
Desktop
Miscellaneous
Thread ID:
01499855
Message ID:
01499855
Views:
108
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
Next
Reply
Map
View

Click here to load this message in the networking platform