Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working of if command
Message
From
17/07/2009 09:57:35
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01412935
Message ID:
01412955
Views:
58
This message has been marked as a message which has helped to the initial question of the thread.
Never use reccount() in this case, always use _tally.

>endif command do not stops.
>
>
>mtxt_snot=thisform.text4.value
>IF EMPTY(mtxt_snot)
>=MESSAGEBOX("Please Write subscriber# in box")
>
>thisform.text4.setfocus 
>endif&& should be stop but stop
>
>
>SELECT * FROM registration WHERE mtxt_snot=sno ORDER BY sno INTO CURSOR hj98890op
>SELECT hj98890op
>IF RECCOUNT() =0
>=MESSAGEBOX("Record in not in list")
>
>RETURN 0
>ENDIF
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform