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

What are the types of the textboxes values? Did you try to use variables for textboxes values to see and step this code in the debugger?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform