Subject: VB and Crystal Reports
Posted By: googly21_99 Post Date: 9/18/2003 9:25:11 AM
Hi all,
       I am very new to crystal reports. I have a sample report customer.rpt which was developed in crystal reports. This reports uses Access database. Now I have developed a VB GUI where in when i click the button Customer reports , it should show me the contents of the customer.rpt. So I heard the RDC will help to do this. But i am stuck while using the below code.

Dim CrxApp As New CRAXDRT.Application
Dim CrxRpt1 As CRAXDRT.Report
Set CrxRpt1 = CrxApp.OpenReport("C:\customer.rpt")
CRViewer1.ReportSource = CrxRpt1
CRViewer1.ViewReport
I have added the CRViewer control to my screen

But cannot see any output nor any error.

Any help in this regard ASAP is greatly appreciated

Go to topic 4104

Return to index page 1043
Return to index page 1042
Return to index page 1041
Return to index page 1040
Return to index page 1039
Return to index page 1038
Return to index page 1037
Return to index page 1036
Return to index page 1035
Return to index page 1034