
Using existing connection?
Hi,
I'm using the CrystalReports (8.5) Viewer OCX in a Sybase PowerBuilder 7.0
application.
When the app opens a report, it sets for every Table the logon information
with the following command (don't care about the syntax - it's
PowerBuilder):
iole_report.database.tables[ll_index].setLogOnInfo ( ls_odbc , ls_dsn ,
ls_uid , ls_pwd )
This works fine, but has one important disadvantage: CR opens a new
connection to my database (my app is already connected to a Sybase Adaptive
Server Anywhere database) !
Is there any possibility to pass my connection handle to the viewer?
Thanks in advance for your answers... :-)
Michael Nolte
-Software Development-
S&F Datentechnik GmbH & Co. KG