Hi,
Using VB.net and Crystal 9 and an MS Access Database.
Here's my current code...
Dim Application As New CRAXDRT.Application
Dim Report As CRAXDRT.Report
Set Report = Application.OpenReport("c:\MyReport.rpt"
CRViewer91.ReportSource = Report
CRViewer91.ViewReport
I would like to change the location of the database being used by the report.
I've Tried:
Report.Database.SetDataSource ("c:\SomeOtherMDB.mdb"
But this through a Wacky error.
Any Ideas????
Thanks.
Steve
Using VB.net and Crystal 9 and an MS Access Database.
Here's my current code...
Dim Application As New CRAXDRT.Application
Dim Report As CRAXDRT.Report
Set Report = Application.OpenReport("c:\MyReport.rpt"
CRViewer91.ReportSource = Report
CRViewer91.ViewReport
I would like to change the location of the database being used by the report.
I've Tried:
Report.Database.SetDataSource ("c:\SomeOtherMDB.mdb"
But this through a Wacky error.
Any Ideas????
Thanks.
Steve