I use now Crystal Reports XI with Access 2007 with Activex in VBA control and RDC to view the report with this code.
I want to use Access 2010 with Crystal Reports 2011 but I see that Crystal 2011 don't have Activex and RDC.
What code can I use with Crystla 2011 ? and What component I have tu use to view the reports?
Dim crxApplication As CRAXDDRT.Application
Dim crxReport As CRAXDDRT.Report
Dim nomefile As String
Dim DirName As String
Dim sPath As String
Dim LPath As Integer
Dim NomeReport As String
NomeReport = "Reports.rpt"
Set crxApplication = CreateObject("CrystalRuntime.Application")
Set crxReport = crxApplication.OpenReport(("C:\Report\" & NomeReport), 0)
Me.CrystalActiveXReportViewer6.ReportSource = crxReport
Me.CrystalActiveXReportViewer6.EnableSearchControl = True
Me.CrystalActiveXReportViewer6.EnableProgressControl = True
Me.CrystalActiveXReportViewer6.DisplayToolbar = True
Me.CrystalActiveXReportViewer6.DisplayGroupTree = False
Thank's for the support
There is the ActiveX Viewer you can use now. You just need to add the references into your Access application.
A better place to ask this question would be in this forum:
The ActiveX viewer that is part of the RDC has been retired in CR XI R2 (11.5). The craxddrt.dll shipping with CR 2011 is included for internal use only. There is no license extended for use of this dll in any application.