How to Use Existing ODBC Connection 
Author Message
 How to Use Existing ODBC Connection

My question is, can I use an existing ADO/RDO connection in the
CrystalReport1.Connect property to connect to my ODBC data source?

I'm new to CR and I'm trying to use the CR OCX in VB5 against an ODBC
database.  I created a simple report and added a typical  ODBC Connect
string in the CrystalReport1.Connect property, and all worked well.
But, how can I used an existing ADO/RDO connection for CR to use?

Thanks for any info, George



Wed, 26 Apr 2000 03:00:00 GMT  
 How to Use Existing ODBC Connection

You must use API calls in Crystal .. PELOGONSQLSERVERWITHPRIVATEINFO

Is the api call that you are looking for.


Quote:
>My question is, can I use an existing ADO/RDO connection in the
>CrystalReport1.Connect property to connect to my ODBC data source?

>I'm new to CR and I'm trying to use the CR OCX in VB5 against an ODBC
>database.  I created a simple report and added a typical  ODBC Connect
>string in the CrystalReport1.Connect property, and all worked well.
>But, how can I used an existing ADO/RDO connection for CR to use?

>Thanks for any info, George

ANTI SPAM - Please delete the # before my email in order to send me a responce.

http://www.mcyork.com

Fraser



Wed, 26 Apr 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. ODBC connections using ODBC

2. Using existing connection?

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

4. Using existing ADO connection with Datagrid

5. Using ODBC Data Sources in Connection String

6. Query read-only connection with ODBC using DAO?

7. Indefinite hang after making ODBC connection to sqlserver6.5 using VB5

8. Stack Overflow: Crystal Reports in VB 3.0 using an ODBC connection

9. VB 3 uses two ODBC connections

10. Can you create ODBC connections using VBScript?

11. ODBC Connection failed when using OPENROWSET

12. Stored procedure error using ADO/ODBC connection - help?

 

 
Powered by phpBB® Forum Software