Hi, everybody!

I have a form with several objects. I’d like to be sure that the 1rst. Object has a value before allowing the user to click on other objects. So, I locked all the objects, (except the 1rst. one) on the form load event and put the following module on the click property of my Data List objects:
If isnull(MyDataList) = false then
[MyNextDataList].locked = false
[MyNextDataList].setFocus
End if
But, when I click on a Data List, even tough it’s locked and empty, the next list box becomes unlocked and receives the focus.

What I am doing wrong?

Thanks in advance,
Roselene