Re: VB6 and CrystalReport 9
Re: VB6 and CrystalReport 9
I think that Your reports were created with an older version than CR 9
If You have access to source code, please post the lines of code where You call a rpt file
Re: VB6 and CrystalReport 9
This is the code:
Private Sub mnuProgressReport_Click()
Set oReport = CreateObject("Crystal.CrystalReport")
With oReport
.DataFiles(0) = MsSQLDB.Name
.ReportFileName = ReportsDir & "rptProgress.rpt"
.Destination = crptToWindow
.Action = 1
End With
End Sub
Re: VB6 and CrystalReport 9
As I already posted, Your .rpt files where created with a Crystal Reports version 8.5 or older and You are calling these .rpt using the Crystl32.OCX control embedded in your forms.
This technology (Crystl32.OCX) is supported by Crystal Reports until version 8.5 and from version 9 to 11 You could use RDC and Crystal Reports viewer.ocx to process Your .rpt files
Solution to Your problem :
1.- Get a Crystal Reports version 8.5 to edit Your .rpt files
or
2.- Keep Crystal Reports version 9, upgrade Your .rpt files and modify every single procedure where You call a .rpt file
Re: VB6 and CrystalReport 9
Thank so much for taking the time. Looking for the older version did help.
Thanks again... !!!
Re: VB6 and CrystalReport 9
Now that we've helped you, you can help us by marking the thread as resolved. If you have JavaScript enabled you can do that easily by pulling down the Thread Tools menu and selecting the Mark Thread Resolved item. Also if someone has been particularly helpful you have the ability to affect their forum "reputation" by rating their post. Only those ratings that you give after you have 20 posts will actually count, but in all cases the person you rate will see it and know that you appreciate their help.