Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IF...ENDIF
Message
 
To
12/08/1999 10:45:06
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00252973
Message ID:
00253005
Views:
19
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform