Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with valid events
Message
From
12/09/2006 14:35:08
Chandan Chakraborty
Bangiya Gramin Vikash Bank
Raiganj, India
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Problem with valid events
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01153122
Message ID:
01153122
Views:
55
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
Next
Reply
Map
View

Click here to load this message in the networking platform