Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi-DBMS report

Status
Not open for further replies.

morsi

Programmer
Jun 8, 2003
8
0
0
FR
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top