Link to home
Start Free TrialLog in
Avatar of upobDaPlaya
upobDaPlaya

asked on

MS Access - Stay at the top of the tab

I have a MS Access form with multiple tabs and sometimes when you go from one tab to another it does not take you to the top of the tab.  Typically this will happen if for example I am in tab 1 at the bottom of the page and then click on tab 2.  When I go to tab 2 I will be at the bottom of tab 2.

What code would I use to bring to the top on the move to another tab event.  Also what would the event name be called when I move between tabs ?
Avatar of Dale Fye
Dale Fye
Flag of United States of America image

The event you use when you move between tabs is the Change event.

Are you saying that the tab control is actually larger than the form, so as you enter values in fields, the further you move down the form, you actually lose sight of the top of the form, or of the controls at the top of a subform on a tab?

If you can take a screen shot of what you are experiencing and post it back here, it would be helpful.
Avatar of upobDaPlaya
upobDaPlaya

ASKER

Whats happening is when I am in tab 1 (it does not matter where), when I go to tab 2 (page2) I am dumped down to the middle of the form...It does not matter what tab/page I come from..when I come into tab 2 I am not placed at the top of the form..
ASKER CERTIFIED SOLUTION
Avatar of Bitsqueezer
Bitsqueezer
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Excellent ! That was it...