Crystal 7.0: 2db login question. 
Author Message
 Crystal 7.0: 2db login question.

Hi All,

I'm using Crystal7 with VB6.  I have a report that has connections to Oracle
and SQLServer7.

In the VB code I want the login prompt to these systems to be invisiable to
the user when they run their report.  How do I tell Crystal to login to each
of these 2 systems without user intervention.  Login into a single db is
fine but when I introduct 2, I get a login failure.  Here is the vb code:

Tx1 = "driver={Microsoft ODBC for Oracle};uid=WEB1;pwd=PAS2;server=PTSDEVX;"
'Tx2 = "dsn=INT1;uid=Auc;pwd=1234;DSQ=NET_DB"

CRW.Connect = Tx1&T2

CRW.ReportFileName = ReportPath & ReportPrefix & Trim$(REPNAME) & ".RPT"
CRW.ReportTitle = "For The" & ACD & " Auction"
'
CRW.WindowControlBox = True
CRW.Action = 1

How do I combine both of the TX strings?  Any help would be appreciated.
Thanks.



Mon, 29 Aug 2005 04:51:06 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Crystal 7.0 & MSS 7.0 stored procedures

2. Crystal 5.0 vs Crystal 7.0

3. Login authentication with Access 7.0

4. Using Access 7.0 Modules in Crystal Report 3.0

5. Crystal Report 7.0 Probleme:(((

6. vb6 and crystal report 7.0

7. Crystal Reports 7.0

8. Crystal 7.0 and backwards compatibility

9. VB 4.0 & Access 7.0 Crystal Reports

10. vb6.0 and crystal report 7.0

11. The Crystal Report 7.0 Problem

12. How to register craxdui.dll of Crystal Report 7.0

 

 
Powered by phpBB® Forum Software