G
Guest
I have a field ([Type]) that I only want to accept the letters O, W and D.
If the user doesn't enter one of these letters, I want a message box to pop
up saying "You must enter an 'O', 'W' or 'D'" with an OK button.
THEN, when they hit the OK button, I want the focus to return to the Type
field, ready to accept a correct entry. SetFocus hasn't worked, or I'm not
coding it correctly.
So, I need help in 1) evaluating the entry and 2) returning focus to the
Type field.
Thanks.
Jerry
If the user doesn't enter one of these letters, I want a message box to pop
up saying "You must enter an 'O', 'W' or 'D'" with an OK button.
THEN, when they hit the OK button, I want the focus to return to the Type
field, ready to accept a correct entry. SetFocus hasn't worked, or I'm not
coding it correctly.
So, I need help in 1) evaluating the entry and 2) returning focus to the
Type field.
Thanks.
Jerry