Invalid Report Version
I am updating some old VBA macros that used the crystl32.ocx object to create a runtime version of a report created in Crystal 8.5. The macro I am trying to update needs to run Crystal XI reports, and the crystl32.ocx object is still available. However, when I place this object on a VBA form, it will not launch. The code does not produce an error, but the event log will show 'invalid report version'.
I have read somewhere that in Crystal XI, you can no longer use the runtime activex in the Crystal Pro version and that you must use the Designer version. Further, additional license fees are required. Can someone explain what the possibilities and the requirements are?
Ludek Uher replied
The OCX was retired in version 8.5 of Crystal Reports. Tghe Report Designer Component (RDC) replaced the OCX and you can use it with VBA. However, two points to ne aware of:
1) The RDC has been retired tin the currently shipping Crystal Reports 2008
2) The RDC has not been tested in VBA and is thus not supported in VBA. Last version of CR to ship the RDC was 11.5 and support of the RDC will stop in June 2010
For a bit of help on the RDC in VBA see:
For general help using the RDC look for the CrystalDevhelp.chm and RDCDeployment.chm which should be installed on your dev computer.
as well as these resources: