Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Efficient coding problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00442342
Message ID:
00443437
Vues:
11
Hi Nadya,

Since your fields have such a "name rule", you could create 1 procedure for all.
Imagine:

DO myRoutine WITH "Pur"


MyRoutine could be:

PARAMETERS myPar
myField1 = "Unit_" + myPar
myField2 = "Price_" + myPar
myInstr = "Select " + myField1 + ", " + myField2 + " from myTable"
...


Hope it helps.

Nice to see you.

Cheers,

Ricardo
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform