I have added a crystal report to a form. But all it does is display and then go away all in 1 or 2 seconds
I need to allow an user to review the report.
I have visual studio 2008
Crystal reports ver 11
Here is the code I have so far.
Private Sub btnCrystalReport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCrystalReport.Click
Dim cryRpt As New ReportDocument
CrystalReportViewer1.ReportSource = cryRpt