Hi everybody
i have got reports created in Crystal reports 7.0. I want to View this report in VB using the RDC. I am Receiving the message "Server not Open". I am using the following code. Can anyone please tell me what is the solution. My reports are created in Crystal Reports 7.0 and now i have Crystal Reports 8.5 installed on my machine
i am stuck and i urgently need some solutions
Thanks and Regards
Smart1234
Dim CRXApplication As CRAXDRT.Application
Dim CRXReport As CRAXDRT.Report
Private Sub Form_Load()
Dim REPFILE As String, strQuery As String
Dim CON As New ADODB.Connection
Screen.MousePointer = vbHourglass
Set CRXApplication = CreateObject("CrystalRuntime.Application"
REPFILE = App.Path & "\Reports\SH_RM_LEDGER.rpt"
Set CRXReport = CRXApplication.OpenReport(REPFILE, 1)
CRViewer1.ReportSource = CRXReport
CRViewer1.ViewReport
Screen.MousePointer = vbDefault
End Sub
i have got reports created in Crystal reports 7.0. I want to View this report in VB using the RDC. I am Receiving the message "Server not Open". I am using the following code. Can anyone please tell me what is the solution. My reports are created in Crystal Reports 7.0 and now i have Crystal Reports 8.5 installed on my machine
i am stuck and i urgently need some solutions
Thanks and Regards
Smart1234
Dim CRXApplication As CRAXDRT.Application
Dim CRXReport As CRAXDRT.Report
Private Sub Form_Load()
Dim REPFILE As String, strQuery As String
Dim CON As New ADODB.Connection
Screen.MousePointer = vbHourglass
Set CRXApplication = CreateObject("CrystalRuntime.Application"
REPFILE = App.Path & "\Reports\SH_RM_LEDGER.rpt"
Set CRXReport = CRXApplication.OpenReport(REPFILE, 1)
CRViewer1.ReportSource = CRXReport
CRViewer1.ViewReport
Screen.MousePointer = vbDefault
End Sub