Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sqlstringconnect
Message
From
10/03/2003 06:46:38
 
 
To
10/03/2003 06:19:55
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00763554
Message ID:
00763559
Views:
18
Metin,

Try:
lcStringConnect="DRIVER={SQL Server};SERVER=METIN-81PAL4R7V;DATABASE=northwind;UID=sa;PWD=sa_pw"
lnSql = SQLSTRINGCONNECT(lcStringConnect)
HTH
>i want to use sqlstringconnect without use dns. i tried sample which vfp gives in it's help and i cannot use it:
>
>it writes:
>"driver = SQL Server;server=your_server;uid=sa;pwd=sa_pw"
>
>and i tried:
>"driver = SQL Server;server='METIN-81PAL4R7V';uid=sa;pwd="
>
>METIN-81PAL4R7V is my sqlserver name.
>
>sql server give an error:
>
>dns name not found and default driver not specified (i convert this error message from turkish and syntax may be incorrect).
Daniel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform