Crystal Reports XI with Access 2002

K

kanwal

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top