Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSDE and SQLCONNECT()
Message
De
12/05/2003 12:43:02
 
 
À
11/05/2003 20:40:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00787161
Message ID:
00787393
Vues:
14
>>nHandle = SQLCONNECT("MyConnection","MyUserID","MyPassword")
>>
>>fails with the "Feature is not available"
>>
>>nHandle = SQLCONNECT("MyConnection")
>>
>>works OK
>
>Hi Fred,
>
>I guess, "MyConnection" is a named connection that was created using connection string. SQLCONNECT doesn't provide ability to override user name and password for connections like that, but it should be possible to do for connection that is based on ODBC Data Source Name.
>
>If I guessed wrong, please give more information about how "MyConnection" is configured.
>
>Thanks,
>Aleksey.

It's a connection made inside VFP, using the Connection Designer. I don't have access to that machine right now, but it probably is created using a connection string. I'll see if I can create a DSN for it and try it that way. Thanks!
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform