Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Upload to SQLServer
Message
 
 
To
04/12/2008 17:50:10
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01365523
Message ID:
01365568
Views:
20
>>
>>If the SQL Server Express is installed to your computer and you are the administrator of that computer you can use Windows Authentication instead of SQL Server one.
>>Also, keep in mind that default installation of SQL Server Express create a named instance "SQLEXPRESS". So, what happens with this:
>>
>>lnHandle = SQLSTRINGCONNECT("Driver=SQL Server;Server=.\SQLEXPRESS;DataBase=TheNameOfTheDB;Trusted_Connection=yes;")
>>IF lnHandle < 0
>>   AERROR(laError)
>>   messagebox(laError[1,2]) 
>>ENDIF
>>
>This works. Thanks.
>Is there a way to turn this into a named connection?

Why would you want to do that?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform