Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Change Database when we have TWO connections (at run time)

Status
Not open for further replies.

Ruy

Programmer
May 15, 2000
1
A2
I have a problem...My report need two connections to DB.<br>I know how change the parameters of one... but how<br>can reach and change the other??<br>I'm working in VB. To reach the first I use:&nbsp;&nbsp;<br><br>&nbsp;<FONT FACE=monospace> Report.Database.SetDataSource datcmd1 </font><br><br>&nbsp;&nbsp;(where datcmd1 is a ADODB.Command) <br><br>Thanks in advance.<br><br>Ruy<br><br>&nbsp;<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top