I'm using CR 8.5, VB6, and SQL Server 7.
I took over the maintenance of an application when one of our employees left the company. (Let's call the app App1). Shortly after, I created another app (let's call this one App2). Both apps use Active Data to pass a recordset to an existing Crystal Report. App1 was written a few years ago, when the company was still using Crystal Reports 6.0. We have since upgraded to Crystal Reports 8.5 (which is what we were using when App2 was written). App1 has been distributed to nearly every computer within our company, with version 6.0 of all the Crystal Reports dlls. When I wrote App2, I created the reports with version 8.5 of the dlls. When App2 was distributed to a few computers at the company, some of the reports from App1 stopped working (Error 20527 SQL Server Error). I tracked it down to the CR dll p2smon.dll. If version 6 is installed, both programs work perfectly. If version 8.5 is installed, App 2 works perfectly, but App1 doesn't. I tracked it down even further to a recordset that was created using a Stored Procedure that contains an If statement or a Case statement. Another weird thing is that if I create the recordset the exact same way, calling the exact same Stored Procedure, but using ADO instead of RDO, it works fine. Unfortunately, it's impossible for me to upgrade the program to ADO, so I have to try to find a solution for RDO. At the moment, I'm going to leave the old dll in place. But that could cause problems in the future if I create another report that relies on features in the newer dll that aren't supported in old dll.
I have searched every forum I could find, I have done every Google search I could think of, I have even tried to contact Crystal Decisions (we don't have any free tech support and I can't convice the company that it's worth paying for it).
Has anyone come across this problem (or something similar)? Is it a bug in Crystal Reports? Is there a difference in the way the recordset is created when calling a Stored Procedure vs embedded SQL? Any thoughts, websites, etc would be greatly appreciated!!
Thanks in advance!
Fiona
I took over the maintenance of an application when one of our employees left the company. (Let's call the app App1). Shortly after, I created another app (let's call this one App2). Both apps use Active Data to pass a recordset to an existing Crystal Report. App1 was written a few years ago, when the company was still using Crystal Reports 6.0. We have since upgraded to Crystal Reports 8.5 (which is what we were using when App2 was written). App1 has been distributed to nearly every computer within our company, with version 6.0 of all the Crystal Reports dlls. When I wrote App2, I created the reports with version 8.5 of the dlls. When App2 was distributed to a few computers at the company, some of the reports from App1 stopped working (Error 20527 SQL Server Error). I tracked it down to the CR dll p2smon.dll. If version 6 is installed, both programs work perfectly. If version 8.5 is installed, App 2 works perfectly, but App1 doesn't. I tracked it down even further to a recordset that was created using a Stored Procedure that contains an If statement or a Case statement. Another weird thing is that if I create the recordset the exact same way, calling the exact same Stored Procedure, but using ADO instead of RDO, it works fine. Unfortunately, it's impossible for me to upgrade the program to ADO, so I have to try to find a solution for RDO. At the moment, I'm going to leave the old dll in place. But that could cause problems in the future if I create another report that relies on features in the newer dll that aren't supported in old dll.
I have searched every forum I could find, I have done every Google search I could think of, I have even tried to contact Crystal Decisions (we don't have any free tech support and I can't convice the company that it's worth paying for it).
Has anyone come across this problem (or something similar)? Is it a bug in Crystal Reports? Is there a difference in the way the recordset is created when calling a Stored Procedure vs embedded SQL? Any thoughts, websites, etc would be greatly appreciated!!
Thanks in advance!
Fiona