I used this solution a couple of years ago for a DB when I had to kick the user out of a subform when it was inappropriate for them to be there. Syntax for you should be similar. Just change the form and field names...
Forms!dev_master_frm1!dev_name.SetFocus
The key is the ... .SetFocue property for the field.
Thanks Richard, but that only sets the focus on a field by name. I have 10 forms, each where the 7th field is a different name. I was to set focus to the 7th field, irrespective of its name.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.