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