Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Switching between 3 different connection strings...
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
00975103
Message ID:
00975142
Views:
18
Hi Victor,

I am afraid I misunderstood a little bit, I was referring to logging into to the server as such. I have very little experience with connection string to connect to databases. But I guess you can use a similar approach.


>Interesting, but how are you doing this? Are you programticly chaning the .dbc's connection string somehow? This is something I've been wanting to do too, but haven't been happy with what I've come up with thus far.
>Another thing you could do Julie is perhaps modify this HOSTS file so that it would point the network server's IP address to your local machine when not connected to the netowrk.
>
>>Hi Julie,
>>
>>is only one connection available at a time? If so, maybe you can make a program similar to the login program I use on my laptop. My program first looks for the server at my company, where I usually use my laptop. If it doesn't find that server, it looks for my home server. If that server is also not available, my system uses local data.
>>
>>>I have 3 different connection strings that need to be used based and where we are on the network or disconnected laptop. I have been making three seperate exe's to date and would like to have 1 and use a confi file to help me determine which connection runs.
>>>
>>>Any ideas would be very helpful
>>>
>>>Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform