Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connections
Message
De
28/10/2004 16:18:13
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00953758
Message ID:
00955482
Vues:
19
Chad,

I like the 2nd suggestion better. After I create the connection, do I have to connect it by using SQLCONNECT(...) or is that automatic?

Jim

>Hmmm,
>
>Well then, I'd suggest you create a single userid/password in SQL that your app connects as and hard-code that into the connection or use trusted connections (I think you can do that in a saved connection) and go to SQL as whoever is logged into the PC.
>
>OR (just thought of this) and this may be your solution:
>
>Why not just recreate the connection each time you need it:
>
>DROP CONNECTION ProdSQL
>CREATE CONNECTION ProdSQL USERID usr PASSWORD pass ...
>
>You can do a CREATE CONNECTION and feed it the parameters or a connection string.
>
>HTH,
>Chad
>
>>Hi Chad,
>>
>> I've created remote views in my application and those connect via a connection. That's why I need one...
>>
>>Jim
Thanks

Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform