I am having a strange bug.
I have a form that shows in datasheet view. When a certain field/control (ctl1) looses focus a modle is run to validate the field contents. If the contents are invalid, i want the control (ctl1) to give have the focus again.
I am attempting this using the simple setfocus method. This however is not working. Is there a restriction on using this when the form is displayed in a datasheet?
is there another solution?
simple i know, but annoying.
thanks in advance.
I have a form that shows in datasheet view. When a certain field/control (ctl1) looses focus a modle is run to validate the field contents. If the contents are invalid, i want the control (ctl1) to give have the focus again.
I am attempting this using the simple setfocus method. This however is not working. Is there a restriction on using this when the form is displayed in a datasheet?
is there another solution?
simple i know, but annoying.
thanks in advance.