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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to connect to 2 diff DBs in one app?

Status
Not open for further replies.

LucieLastic

Programmer
May 9, 2001
1,694
GB
hi All

I believe it is possible to have 2 connections open to 2 different databases (on the same server) at one time, isn't it?

I thought I'd be able to do it using TDatabase components but unsure now.

How can it be done?

many thanks for help
lou

 
hi

I've done it and knew the answer all along. Did it using 2 TDatabase components - I hadn't set my databasename property on my TQueries correctly - that's why I was having trouble.

I think I need a holiday...[ponder]

lou

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top