Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Choosing a connection
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00773265
Message ID:
00773510
Views:
19
Hi Nick,

Assuming you are talking about ODBC connections, if you are using SQLEXEC, just initialize each connection individually;
nSqlConnect1 = SQLCONNECT('DBCONN1')
nSqlConnect2 = SQLCONNECT('DBCONN2')
...
SQLEXEC(nSqlConnect1, "SELECT * FROM MYTABLE1")
SQLEXEC(nSqlConnect2, "SELECT * FROM MYTABLE2")
Remote views already have it defined internally whet connection to use.

HTH,
Arriyel

>if I have multiple connections defined in project manager, how can I use a specific connection programatically?
>
>thanks
>nick
Speak using soft and sweet words in case you have to eat them later.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform