>>>[snipped]
>>Move it to .Valid() method like this:
>>
>>*Valid() method
>>IF ! "Dr" $ This.Value
>> =messagebox('This list should be Doctors only.',16,'Go Back')
>>RETURN 0
>>ENDIF
>
>It doesn't seem to work for me when I have ON ERROR ... on the form. What can I do? Even the -1 doesn't work either.
Are you sure you don't have another RETURN in the code? -1 should move focus to the previous control in the tab order, +1 to the next and so on.
--sb--