RobHVB6Sql
Programmer
I'm using VB6 /SQL6.5 and CR9.
Sorry I looked through heaps of posts and cant solve this one.
I recieve and error message saying the 'report' variable is not defined.
When I define it eg
I get "Method 'Database' of object 'IReport' failed".
I have CR10 installed on the machine, but am using crxdrt.dll from version 9.
(Attempting to get cr10 reports showing through crviewer9.dll, as have some Windows 98 machines still).
Rob Hasard
(VB6 /SQL 7.0 /CR8.5)
Sorry I looked through heaps of posts and cant solve this one.
Code:
Dim ConnectionInfo As CRAXDRT.ConnectionProperties
Set ConnectionInfo = Report.Database.Tables
I recieve and error message saying the 'report' variable is not defined.
When I define it eg
Code:
Dim ConnectionInfo As CRAXDRT.ConnectionProperties
Dim Report As New CRAXDRT.Report 'attempt added by RH
Set ConnectionInfo = Report.Database.Tables(1).ConnectionProperties
I have CR10 installed on the machine, but am using crxdrt.dll from version 9.
(Attempting to get cr10 reports showing through crviewer9.dll, as have some Windows 98 machines still).
Rob Hasard
(VB6 /SQL 7.0 /CR8.5)