PauloMongo
Programmer
Help.
I am trying to run a report against an Oracle database using VB 6. I use the following code
Dim appl As New CRAXDDRT.Application
Dim report As New CRAXDDRT.report
Private Sub Form_Load()
report.DiscardSavedData
Set report = appl.OpenReport("c:\test.rpt"
For i = 1 To report.Database.Tables.Count
report.Database.Tables(i).SetLogOnInfo "Service Desk", "ovsd4", "system", "manager"
Next i
CRViewer1.ReportSource = report
CRViewer1.ViewReport
End Sub
When I run the report I get the following error
"Server has not yet been opened"
Any ideas
I am trying to run a report against an Oracle database using VB 6. I use the following code
Dim appl As New CRAXDDRT.Application
Dim report As New CRAXDDRT.report
Private Sub Form_Load()
report.DiscardSavedData
Set report = appl.OpenReport("c:\test.rpt"
For i = 1 To report.Database.Tables.Count
report.Database.Tables(i).SetLogOnInfo "Service Desk", "ovsd4", "system", "manager"
Next i
CRViewer1.ReportSource = report
CRViewer1.ViewReport
End Sub
When I run the report I get the following error
"Server has not yet been opened"
Any ideas