Using existing connection? 
Author Message
 Using existing connection?


I'm using the CrystalReports (8.5) Viewer OCX in a Sybase PowerBuilder 7.0
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

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

Sat, 29 May 2004 21:04:50 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Using existing Connection to SQL-Server in Crystal Report 6 OCX

2. Using existing ADO connection with Datagrid

3. Global DB Connections...RunTime Variable used for Design-Time DataAdapter Connection

4. ADODC and existing database connection

5. ADODC and existing database connection

6. How to tell ADODC to use existing connection?

7. Looking At existing RAS connections

8. Detect if an Internet connection exists

9. How to know if active Winsock connection exists?

10. how to bind adodc control to existing adodb connection

11. Disconnecting from an existing dial up networking connection and 1 other problem

12. Determine if Active Internet Connection Exists


Powered by phpBB® Forum Software