I have two fields on a form. The first field has a default value of 0. If someone hits enter and accepts this ( a value I don't want them to enter) I have the lost focus event check the value and return the focus back into the first field till they get it right. The trouble is .. the focus always ends up in the second field.
Here my code.
Private Sub fieldone_lostfocus()
If Me.fieldone = 0 then
Me.fieldone.setfocus
end if
Help!!!!
Here my code.
Private Sub fieldone_lostfocus()
If Me.fieldone = 0 then
Me.fieldone.setfocus
end if
Help!!!!