Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of Valid event
Message
De
11/09/2006 18:43:37
 
 
À
11/09/2006 13:52:59
Chandan Chakraborty
Bangiya Gramin Vikash Bank
Raiganj, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
01152818
Message ID:
01152896
Vues:
19
>Hello Experts!
>

If the valid returns .F. the cursor stays in the field until valid returns .t.

Peter


>In a form I have 4 text. In text1 , text2 and text3 I am entering Date. And in 4th text a period.
>I want to check the period.
>
>In valid event of Text4 I coded
>
>
>
>If ((thisform.text1.value)+(thisform.text4.value))>(thisform.text3.value)
>
>=Message("You have Entered a Higher Period",1)
>return 0
>endif
>
>
>
>i.e, if text1.value=("12/12/2005"),
> text4.value=24,
> text3.value=("12/11/2006")
>I have entered a higher period value at text4.
>
>My code is not giving me the desired result.
>
>Please help me.
>
>Chandan
Peter Cortiel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform