Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing remote-view connection
Message
From
12/04/2007 19:00:12
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
 
 
To
12/04/2007 18:05:23
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01214484
Message ID:
01215306
Views:
13
>One good approach is to place an encrypted ini file on a server at each customer, containing the site's individual connection string with login details etc. At the start of your app, unencrypt the file and use it to create a public variable or persistent property with the handle. Then use gofish to find all your USE commands and add CONNSTRING m.pHandle. Do that for local views as well- Connstring is ignored if the views are local and if you ever convert them to remote views, it'll keep working. Now you can copy your app files to any pc in the facility and it'll work, as long as the proper odbc drivers are available.

I like this. My next task is to try and convince the project manager that this is a viable approach.

>A certain hospital not too far from you uses this exact system, allowing them to use a VFP app on ? 1,000 PCs with no contention or other scaling issues that are so often reported for VFP. ;-)

I now live even nearer to that hospital - only about 20 mins. walk away.
Do you still have any connection with Plato CIS?

Regards,
Alan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform