Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC
Message
De
14/09/2001 12:51:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/09/2001 12:45:52
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: ODBC
Divers
Thread ID:
00556482
Message ID:
00556597
Vues:
26
>Cetin,
>
>With this code I get a connection not made.
>
>lcConnection = 'DRIVER=Client Access ODBC Driver (32-bit);'+;
>'SERVER=webprddtx;DATABASE=;User ID = draw;PW=weber'
>
>gnHandle1 = SQLCONNECT('lcConnection')
>If gnHandle1 <= 0 Then
> Wait Window "Connection not Made"
> Cancel
>Else
> Wait Window "Connection Made"
>EndIf
>= SQLDISCONNECT(gnHandle1)

Steven,
If that connection string is true then this should work :

lnHandle = SQLStringConnect(lcConnection)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform