General information
Category:
Forms & Form designer
Title:
Setfocus for a validation
Hi,
i have a form in witch there's a textbox that receive a positive number and i want to put validation on it. if it's negative, don't leave the box. so what i do is in the lostfocus
if thisform.number.value < 0
messagebox(...)
thisform.number.setfocus
endif
the messagebox appears but the setfocus don't go back to the textbox.
can somebody tell me what is missing (or what am i missing)
thanks for your time
nad
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only