Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can this be done using IF Statements?
Message
 
À
26/11/2002 23:21:47
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00727403
Message ID:
00727406
Vues:
8
Hi Henry,

You might try a do case statement something like:


If mCode = "5B" &&then check the age
do case
case between(the_age,1,54)
use mCode
case between(the_ age,55,64)
use code "7B"
case btween(the_age,65,74)
use Code "6B"
case the_age >= 75
use code "1B"
otherwise
some error message
endcase
Endif
Leland F. Jackson, CPA
Software - Master (TM)
smvfp@mail.smvfp.com
Software Master TM
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform