Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC
Message
From
14/09/2001 12:51:39
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
14/09/2001 12:45:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: ODBC
Miscellaneous
Thread ID:
00556482
Message ID:
00556597
Views:
25
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform