Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Production or NOT production
Message
De
12/02/2004 16:05:07
 
 
À
12/02/2004 16:01:21
Joel Hokanson
Services Integration Group
Bellaire, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00876843
Message ID:
00876849
Vues:
8
>I want to have my VFP application go to a different SQL server (for remote views) based on the data in a configuration file.
>
>I had thought of just using a local DBF file to store the values.
>
>I was going to define a different DSN for the Production version and use a different DSN for the development version.
>
>However the DSN is in the DBC and NOT a variable.
>
>The SQL servers are exactly the same, just a different IP.


Make it DSNLess, using SQLSTRINGCONNECT() and change the IP depending on Version(2).


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform