Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Globally Changing a Phrase
Message
De
09/10/2003 18:20:49
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00837151
Message ID:
00837178
Vues:
39
>We are distributing a complied application to multiple clients.
>One of the clients would like to have all occurances of a particular phrase changed to another phrase. For example, 'Customer Code' should be 'Bill-to Code'.
>This phrase should be displayed everywhere such as forms, classes, programs, reports, messages, menus, etc.
>We really would prefer not to maintain a separate project for this client (and any other who wants a similar modification).
>All suggestions are appreciated.
>TIA.

For those stored in a table, they should have enough control over the data to make those changes.

For report controls, you can also pull from a table, but you wouldn't be able to use the report label, you'd need to use the text field.

For any others (captions, messages, etc.), these could be put into a lookup table or XML as well. This gives a little overhead, but more flexibility. Many multilingual apps can work this way.

And by using a lookup table, you can allow users to modify labels themselves, if you'd like. [ I'm not sure I would, but it's possible ;) ]
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform