Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the best ODBC way to go?
Message
De
09/11/2001 15:31:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00579252
Message ID:
00579921
Vues:
30
What if the app is running fine for a long time then my customer decides to change the server and this new server is named differently? Assume you don't have the source code for the application nor does him has VFP installed in any computer at all.


Luis



>A dsn-less connection string is best because it makes for a self-contained option.
>
>Follow these steps:
>
>1. Create a file dsn.
>2. create a connection in your dbc, choosing to create a connection string.
>3. Click the button next to the textbox where the connection string will go.
> This will provide an opportunity to point to a file-dsn.
>
>Viola, you will see your file-dsn transformed into a connection string. You can then copy/paste the string in program code if you like. In any case, you will not be tied to a specific client-machine setup issue. For example, if somebody decides to monkey around with the DSN settings on the machine, your app won't break if the DSN is removed.
>
>HTH..
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform