start tab sequence in from detail (not header)

  • Thread starter Thread starter Christopher Glaeser
  • Start date Start date
C

Christopher Glaeser

I have several navitation control buttons in the from header and I've set
"TabStop = No" for all of them. When I navigate to a new record, the
tab/cursor is set to one of the navigation controls. How do I start the tab
sequence in the form detail rather than the form header?

Best,
Christopher
 
Christopher,

You can set the focus to the control that you choose by using:

Control_Name.SetFocus

Add the line at the bottom of your navigation procedure.

Because you are in the header to use the navigation buttons, the focus will
stay there when the record changes. The same is true if the focus is in the
detail section of the form (the focus stays in the detail section).

HTH
Jason
 
Control_Name.SetFocus
Add the line at the bottom of your navigation procedure.

Thanks! For others to reference, the syntax I used was
Me!Control_Name.SetFocus

Best,
Christopher
 
Back
Top