on 09-17-2008 9:05 PM
Hi,
We have a VB 6 application using Report converted from CR 8.5 to XI
I have an message error when I call the report.
This existing Report contains 6 sub-reports and each sub-report has his own Data field definiton file (.ttx). Whe I convert the Report, I only open it with CR XI and all the sub-reports and save it.
I have test and having an error (20525) from my VB6 application. (this is the only report than I have problem with, and the only one built with ttx)
We still use the dll of CR 8.5 in VB6 project because all other reports work fine.
There is the VB code to create the CR application, to fill and open the report:
' ***************************************
Private CDOSet As CrystalDataObject.CrystalComObject
Private RepApp As CRPEAuto.Application
Private CrystRep As CRPEAuto.Report
Private RepDb As CRPEAuto.Database
Private RepTables As CRPEAuto.DatabaseTables
Private RepTable As CRPEAuto.DatabaseTable
Private SubReport As CRPEAuto.Report
Private SubReportDb As CRPEAuto.Database
Private SubReportTables As CRPEAuto.DatabaseTables
Private SubReportTable As CRPEAuto.DatabaseTable
'Open the principal report
Set CrystRep = RepApp.OpenReport(App.Path & "\Rapports\IND.rpt")
Set RepDb = CrystRep.Database
Set RepTables = RepDb.Tables
Set RepTable = RepTables.Item(1)
' ***************************************
the application stop at the opening of the principal report
Can you help me ?
Thank you,
Lyne
Hi Lyne,
It seems that you are having issue through code.
Post your question here:
[https://www.sdn.sap.com/irj/sdn/businessobjects-sdk-forum]
Hope that helps!!
Regards,
Shweta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.