Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IF statement
Message
From
17/04/2006 04:14:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
IF statement
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01114007
Message ID:
01114007
Views:
50
hi all,

i try via this code, but i get the message for all choices.
&&&range form 1 to 9
IF THISFORM.TEXT4.Value=9 and THISFORM.TEXT5.Value>""
          THISFORM.command1.visible=.T.
          ELSE
             THISFORM.command1.visible=.F.
                 =MESSAGEBOX("íÌÈ ÇÏÎÇá ÇáÑÓÇáÉ") && this message
                 thisform.text5.setfocus
       
      IF THISFORM.TEXT4.Value>0 and THISFORM.TEXT4.Value<9
               THISFORM.command1.visible=.t.
       ELSE
          =MESSAGEBOX("íÌÈ ÇÏÎÇá ÇáÇÌÇÈÉ") 
          THISFORM.command1.visible=.f.
      ENDIF 
         
          
    endif 
thanks
Next
Reply
Map
View

Click here to load this message in the networking platform