Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL 2005 Connections
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
SQL 2005 Connections
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01260020
Message ID:
01260020
Views:
61
I have an application that needs to work with SQL Servers where I am not in control of the security model installed on the back end.

Most installations will run with Windows Only, but others may have Mixed Mode.

Is it possible to write code which will detect a failure of one and then try the other ?

I tried doing a TRY...ENDTRY around the code but it didn't work very well.


On a slightly related topic, I saw a thread on here which talked about setting up logins in SQL which consist of IP addresses. I wonder if this will be necessary here, because otherwise if I need to access SQL using a login, I'll need some UID and PWD to put in my connection string...

Any suggestions please ?

Thanks
Simon
SJC Systems Limited
WorldSpreads Limited (www.worldspreads.com)
Next
Reply
Map
View

Click here to load this message in the networking platform