Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can you test a crystal report in .NET

Status
Not open for further replies.

jasperjasper

Programmer
Mar 23, 2004
117
US
I have creatd the report in Crystal by doing a project add component...crystal report...

How can I run it inside the IDE? Thanks
 
Add a windows form to the project, on that window add a Crystal Report Viewer. in the code add:

Code:
Dim rptfilelist As New [Name of your CR object]()
Dim rptObject As CrystalDecisions.CrystalReports.Engine.ReportDocument = CType(rptfilelist, CrystalDecisions.CrystalReports.Engine.ReportDocument)
  CrystalReportViewer1.ReportSource = ReportObject

-Rick

----------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top