Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connecting to SQL Server 7.0 using TCP/IP
Message
 
 
À
06/12/2000 17:29:40
Christopher Pinnock
United General Insurance Company
Kingston, Jamaique
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00450143
Message ID:
00450326
Vues:
35
>Using a DSN Less connection how can I connect to the SQL SERVER 7.0 database using TCP/IP. I'm writing the program using Microsoft Visual Foxpro 6.0.
>
>This is how I'm connectiong now:
>glnHandle = SQLSTRINGCONNECT("driver={SQL Server};server="+THIS.SERVERNAME+";uid="+alltrim(THIS.USERNAME)+";pwd="+alltrim(THIS.USERPASS)+";database="+THIS.DATABASE+";AutoTranslate=no;Regional=no;QuotedId=no;AnsiNPW=no")


You can tell ODBC to use TCP/IP Net-Library by adding
"Network=dbmssocn;"
to the connection string.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform