Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IF...ENDIF
Message
 
À
12/08/1999 10:45:06
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00252973
Message ID:
00253005
Vues:
20
DO CASE
   CASE m.instnum = SPACE(4)
      m.obt=1
   CASE m.borrnum1 = SPACE(3)
      m.obt=2
   CASE m.borrnum2 = SPACE(2)
      m.obt=3
...

ENDCASE
WAIT WINDOW 'Inputs not completed' TIMEOUT 1
DO CASE
   CASE m.obt=1
      Thisform.Text1.SetFocus()
   CASE m.obt=2
      Thisform.Text2.SetFocus()
   CASE m.obt=3
      Thisform.Text3.SetFocus()

...

ENDCASE
Hope this helps.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform