SetFocus

User avatar
burrina
4StarLounger
Posts: 550
Joined: 30 Jul 2014, 23:58

SetFocus

Post by burrina »

How can I set the focus back to one field on 1 form from another form?
frmregistration is the form that is closing and frmLogin is opening again, or rather made visible

Code: Select all

Forms!frmLogin.SetFocus
            Forms!frmLogin!txtUserID.SetFocus
            

User avatar
burrina
4StarLounger
Posts: 550
Joined: 30 Jul 2014, 23:58

Re: SetFocus

Post by burrina »

Got it to working, Thanks
I forget sometimes, I'm old so I can!