Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can i pass parameter in the connection string
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How can i pass parameter in the connection string
Divers
Thread ID:
00793427
Message ID:
00793427
Vues:
60
Can i pass parameter in the connection string of a CursorAdapter
If i try to do This
tUID = 'Sebastien'
tPWD='datadis'
tWSID='SEBASTIEN'

lconn = SQLSTRINGCONNECT("DRIVER=SQL Server;SERVER=SQLSERVER;UID=&tUID;PWD=&tPWD;;WSID=&tWSID;DATABASE=RAG")
Lconn = 2 So it Work

But if i put the same string in the Connection string of the CursorAdapter Builder i got this error
Connectivity error :[Microsoft][OBDC sql driver]Login failed for user '&tUID'

Thank's
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform