Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement