Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working of if command
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01412935
Message ID:
01412936
Vues:
73
Ther's nothing in your code that would stop it execution at ENDIF. Add RETURN where applicable.

>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
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform