Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing remote-view connection
Message
De
12/04/2007 19:00:12
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
 
 
À
12/04/2007 18:05:23
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01214484
Message ID:
01215306
Vues:
12
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform