Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with valid events
Message
De
12/09/2006 14:35:08
Chandan Chakraborty
Bangiya Gramin Vikash Bank
Raiganj, Inde
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem with valid events
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
01153122
Message ID:
01153122
Vues:
56
Hello Experts!

In a form I have four fields. d1,d2,d3 and lnPeriod
d1=ctod(" / / ")
d2=ctod(" / / ")
d3=ctod(" / / ")
lnPeriod=0

My condition is that the value of d3 should not be greater than
d1+lnPeriod. So in the valid event of txtperiod, I write:
if ((thisform.txtdate.value)+(thisform.txtperiod.value))>(thisform.txtdate3.value)
=messagebox("Please Check Your Entry",1)
Return 0
endif
But I am not getting the message box.

Please help.

Chandan
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform