Form "cursor" navigation problem

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!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top