on 11-19-2004 7:58 AM
Hi,
I am developping an addon (VB.Net) but with reports in "Crystal Reports". This is the first time I am using Crystal. My questions:
1. How can I give parameters from the.Net project to Crystal Reports
2. How can (best method) start a Crystal Report from my project.
Thx
Hi,
very rough description for your beginning with Crystal Reports follows:
First add references:
CrystalDecisions.CrystalReports.Engine
CrystalDecisions.Shared
CrystalDecisions.Windows.Forms
Next:
create .NET form frmCrView and add control CrystalDecisions.Windows.Forms.CrystalReportViewer
And you can use it from your code:
frmCrystalRep = New frmCrView
---load existing report
frmCrystalRep.CrystalReportViewer1.ReportSource.Load()
-- set report filter
frmCrystalRep.CrystalReportViewer1.SelectionFormula()
-- view a report
frmCrystalRep.ShowDialog()
There are few next "standard" problems with connection to db and refreshing of data...See special web discussions, please.
Good luck
Tomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
7 | |
7 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.