For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > May 2005 > **Changing ODBC connection**









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author **Changing ODBC connection**
M R

2005-05-28, 8:55 am

Hi

I'm working with VB6 and Crystal Report 8.5 via an ODBC, and I want to
change the ODBC during run time when my report wants to execute. here is my
problem:

Report1.rpt using Con1(ODBC name) to connect to the servername S1 and
database name DB1
and I want to use Con2(ODBC name) to connect to the servername S1 and
database name DB1
and I don't want to rename my ODBC connection,I want to learn how can I set
the name of ODBC connection through VB to Crystal?

any help will be thakful.



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com