G
Guest
hi
Can anyone help me out there?
I have a subform, and when entering data into the field and when that field
has lost focus I ask it to check the value in that field and if it is 0 then
a msgbox gives advises user that they must enter a number in that field.
when user clicks ok in msgbox the user is taken back to the subform but the
cursor has focus on the next row to input next rows data.... I want it to go
back to the field that prompted the message. I have tried setting focus to
that field after the msgbox code but it still goes to the next row!
PLEASE can some one help me asap!!!
Thanks in advance
Can anyone help me out there?
I have a subform, and when entering data into the field and when that field
has lost focus I ask it to check the value in that field and if it is 0 then
a msgbox gives advises user that they must enter a number in that field.
when user clicks ok in msgbox the user is taken back to the subform but the
cursor has focus on the next row to input next rows data.... I want it to go
back to the field that prompted the message. I have tried setting focus to
that field after the msgbox code but it still goes to the next row!
PLEASE can some one help me asap!!!
Thanks in advance