Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Switching between 3 different connection strings...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
MS SQL Server
Divers
Thread ID:
00975103
Message ID:
00975115
Vues:
13
>I have 3 different connection strings that need to be used based and where we are on the network or disconnected laptop. I have been making three seperate exe's to date and would like to have 1 and use a confi file to help me determine which connection runs.

Since you are using VFP8, you can conditionally pass a connection string to SQLSTRINGCONNECT() to get a connection handle. Then, pass the connection handle to the CONNSTRING clause of the USE command.
Del
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform