Hello,
I am trying to call a crystal report from MS Access form - but it's not
creating the report object - can anyone help in wrting a code to call crystal
reports ?
I beleive XI version have changes in dll and same method doesn't work as it
use to in earlier version...
here is my code:
Dim oApp As New CRAXDRT.Application
Dim oReport As CRAXDRT.Report
Dim oCRViewer As New CRViewer9
ReportName = "\\FLEG402\UKhan\Data\Crystal\test.rpt"
Set oReport = oApp.OpenReport(ReportName)
oCRViewer.ReportSource = oReport
oCRViewer.ViewReport
thanks in advance,
kanwal
I am trying to call a crystal report from MS Access form - but it's not
creating the report object - can anyone help in wrting a code to call crystal
reports ?
I beleive XI version have changes in dll and same method doesn't work as it
use to in earlier version...
here is my code:
Dim oApp As New CRAXDRT.Application
Dim oReport As CRAXDRT.Report
Dim oCRViewer As New CRViewer9
ReportName = "\\FLEG402\UKhan\Data\Crystal\test.rpt"
Set oReport = oApp.OpenReport(ReportName)
oCRViewer.ReportSource = oReport
oCRViewer.ViewReport
thanks in advance,
kanwal