Form "cursor" navigation problem

  • Thread starter Thread starter Alan
  • Start date Start date
A

Alan

I have a command button on a form that does an input
validation for two list boxes named lstName1st, and
lstNameLast.

If one of the list boxes is empty how do I force form
navigation to the listbox that is empty from the command
button?

This is the vba for the validation:

if IsNull(1stName1st) then
Response = MsgBox("First Name Blank, Enter a first
name", vbOkOnly)
GOTO 1stName1st (this is what I desire to do)
endif

Thanks for your reply!!
 
Back
Top