cancel
Showing results for 
Search instead for 
Did you mean: 

Migration Crystal report 6.0 to 14.0 used in VB6

Former Member
0 Kudos

Hi,

We used the control 'Crystal Report Control' (crystl32.ocx) to print the reports.

After save this report with the version 14.0 (Crystal Report 2013), we have this message : 20525 : Unable to load report.

Code :

frmMain.CryEdition.ReportFileName = app.Path & "\ECHEANCIER" & ext

...

If frmMain.CryEdition.PrintReport <> 0 Then

        '************************

        ' on récupére les erreurs

        '************************

        MsgBox CStr(frmMain.CryEdition.LastErrorNumber) + " : " + frmMain.CryEdition.LastErrorString, vbOKOnly, "Crystal Edition"

    End If

Thank you for your help.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Mickael,

There are a few problems,

First one is those version 6 reports used a database driver that is no longer available with CR 2013. We changed the name so they will not be able to find them. Also means your CR 6 app will not know what the new driver is. Example is p2sODBC.dll is now called crdb_odbc.dll, CR 6 has no concept of that update.

Also as of CR 9 all report file formats changed to support UNICODE so any newer reports will not be able to be used in a CR 6 application, it can't read the RPT file.

As Ludek indicated no option now except to update your application to .NET using VS 2010 or above.

Don

Answers (1)

Answers (1)

former_member183750
Active Contributor
0 Kudos

In two words; No way.

The OCX was retired in CR 8.5 about 15 years ago(!). Your only option is to use the "SAP Crystal Reports, Developer Version for Visual Studio .NET" (CRVS) and VS .NET 2010 or later. CRVS can be downloaded from here:

You could use the CR SDK for Java too:

SAP BusinessObjects - SAP Crystal Reports, Version For Eclipse Download

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow me on Twitter

Got Enhancement ideas? Use the SAP Idea Place