HI,
I'm using an application which connects to Sybase and Oracle databases (same model). It uses crpe32.dll to launch crystal report (7.0) at runtime. To ensure designing the same file ".rpt" for both databases, I use PELogOnServer function and pass P2SSYB10.DLL or P2SORA7.DLL as first parameter to this function. I have always the error "599: <Cannot open SQL server.>" when the running database does not match with the DBMS driver with which the report has been designed.
Thank you
Morsi.
I'm using an application which connects to Sybase and Oracle databases (same model). It uses crpe32.dll to launch crystal report (7.0) at runtime. To ensure designing the same file ".rpt" for both databases, I use PELogOnServer function and pass P2SSYB10.DLL or P2SORA7.DLL as first parameter to this function. I have always the error "599: <Cannot open SQL server.>" when the running database does not match with the DBMS driver with which the report has been designed.
Thank you
Morsi.