Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strtran()? or chartran()?
Message
 
 
À
19/12/2001 13:57:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00596336
Message ID:
00596344
Vues:
26
This message has been marked as the solution to the initial question of the thread.
>Hi All,
>
>I have a textbox where the only valid input is C, E, I or S. I had seen somewhere here a quick 1 line of code way to test for this. But it eludes me. Could someone please jog my memory?
>
>TIA
Hi Mike,

You can put 'M C,E,I,S' into the texbox format property and user wouldn't be able to enter anything else. Otherwise
llOk = INLIST( This.Value, "C", "E", "I", "S")
*OR 
llOk =  This.Value $  "CEIS")
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform