F
forest8
Hi
I have a form which consists of a tab control.
When users switch between tabs, I want to set the focus of the entire form
to the top of the form each time instead of where they let the form on their
previous visit.
Is this possible?
I tried to set the focus to the top of the form by using the following:
Me.StudentID.SetFocus
But it doesn't work. I'm not sure of where I should put the code. Is this
the right one to use or would something else be better?
I also read somewhere in one of the forums I can set the focus first to the
mainform by using
Forms![MainFormName].Set focus
But I can't figure out where it should go?
Thank you for your help in advance.
I have a form which consists of a tab control.
When users switch between tabs, I want to set the focus of the entire form
to the top of the form each time instead of where they let the form on their
previous visit.
Is this possible?
I tried to set the focus to the top of the form by using the following:
Me.StudentID.SetFocus
But it doesn't work. I'm not sure of where I should put the code. Is this
the right one to use or would something else be better?
I also read somewhere in one of the forums I can set the focus first to the
mainform by using
Forms![MainFormName].Set focus
But I can't figure out where it should go?
Thank you for your help in advance.