on 01-20-2016 4:43 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.