Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SqlStringConnect()
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01326157
Message ID:
01326160
Views:
18
>I have a valid connection string "Data Source=BTS-DEVEL\Longview1;Integrated Security=True" that allows me to hook via .Net programs or Sql Server manger to an instance of the server. When I try and put this string into a SqlStringConnect() call I get the DSN dialog window up. I don't want this. I changed the string to read: "driver=Sql Server;server=BTS-DEVEL\Longview1" as per Fox help but still get the box. I can click in the correct machine dsn once the box is up but I do not want the box.
>
>What is wring with my string?
>
>Thanks.

Try with:
TEXT TO lcString NOSHOW PRETEXT 15
     Driver=SQL Server;Server=BTS-DEVEL\Longview1;Integrated_Security=yes;
ENDTEXT
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform