Skip to Content
0
Former Member
Apr 14, 2010 at 10:40 AM

VBA and Crystal Reports XI Developer

106 Views

I'm new to crystal reports and VBA, trying to do something very simple but it's not working. I am using Access 2007 along side Crystal Reports XI Developer. I have inserted the ActiveX Viewer Control 11.5, and I am trying to simply set the report source and view a report, using the few lines of code below:

me.CrystalActiveXReportViewer1.ReportSource = "C:\CrystalReports\CrystalReports.rpt"

me.CrystalActiveXReportViewer1.ViewReport

The problem is when I reference the viewer control I don't get the property to set the reportSource or viewReport, am I missing something really obvious here, is this the correct ActiveX control???