>Hi All:
>
>I'm trying to get the cursor into the field that's missing data using Setfocus(). It works on some text fields, but not others and I can't for the life of me figure out why. I pass the object.name back to the form and call Setfocus() in the Show() of the page. The text fields have different pedigrees, but that shouldn't matter.
>Can someone tell me what governs whether a field accepts a setfocus and another not? Is there another way of doing this or of forcing it?
>
>Thanks,
>Luke
If the field is on the different page you first need to activate the page. thisform.ActivePage = 3 (if the textbox is on the 3rd page).
If it's not broken, fix it until it is.
My Blog