tab control; tabbed pages; form's vertical scroll bar not in topposition

  • Thread starter Thread starter Susan
  • Start date Start date
S

Susan

On a form, I have various subforms in tabbed pages in a tab control
object. When I click on some of the tabs, the form's vertical scroll
bar is positioned at the top (allowing the user to see the information
at the top of the form and in the tab section). But when clicking on
other tabs, the form's scroll bar is in the middle position (then the
user must scroll back up to see the information at the top of the form
and in the tab section). I'm using Access 2007.

Thanks for your advice. Hope your day is grand.

Susan
 
Susan

From your description, I wonder if the size of the form/tab control is
larger than the size of the screen...?

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.
 
Susan

From your description, I wonder if the size of the form/tab control is
larger than the size of the screen...?

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.








- Show quoted text -

Jeff, I appreciate the idea, and I checked. However, my form is
10.4375" and my tab control object is 9.4271". Could the height have
any bearing?

Susan
 
Jeff, I appreciate the idea, and I checked. However, my form is
10.4375" and my tab control object is 9.4271". Could the height have
any bearing?

Susan- Hide quoted text -

- Show quoted text -

Jeff, seem's obvious now, but it was the height of the some of the
subforms within the tab control object. I appreciate your suggestion
because it steered me in the right direction.

Thanks and hope you have a great weekend.
Susan
 
Do this: Insert a page break where you want your form to automatically position (above your tabs). Then On Form Load insert this code.

Private Sub Form_Load()

DoCmd.GoToPage 2

End Sub
 
Back
Top