Hello Guys,
I have a form wherein if the value of lstatus (which is a combo text field input) is say "c" and another field named n_days which is a number field is greater than figure three (3)then I spit a message box.
I have done so with the code below on Before Update of the form:
Although it works once the conditions are satisfied, I get an error which says type mismatch when I try to refresh the form data or clear the form and set all values to Null ("").
My VB is weak! What is the problem with my code?
Kindly help.
Warm Regards
Kwesi
I have a form wherein if the value of lstatus (which is a combo text field input) is say "c" and another field named n_days which is a number field is greater than figure three (3)then I spit a message box.
I have done so with the code below on Before Update of the form:
Code:
If ((lstatus.Value = "C") And (n_days.Value > 3)) Then
My VB is weak! What is the problem with my code?
Kindly help.
Warm Regards
Kwesi
Comment