Connecting Tech Pros Worldwide Forums | Help | Site Map

Access Form Scrollbars

Newbie
 
Join Date: Oct 2007
Posts: 20
#1: Jan 8 '09
I'm hoping this is an easy question but here goes. What would cause a form to load and not be positioned at the top of the form?

I have a main form with a subform. Inside the subform, I have pages/tabs setup. When the main form is loaded, the subform is scrolled down the page and you cannot see what is at the top of the subform. What would cause this? And how do I fix it? It also happens when you click some of the page tabs (the subform automatically scrolls down the page onload). I thought it would be a simple form property, but am unsure of which one.

Any help would be much appreciated.

Thanks so much,
CC

tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#2: Jan 8 '09

re: Access Form Scrollbars


Not sure, personally, since I really don't use subforms (no need for them yet). But the first thing that came to my mind was to check your Tab Order on the form (or subform). It may be that something near the bottom of your form (or subform) is at the top of the Tab Order list.
NeoPa's Avatar
Administrator
 
Join Date: Oct 2006
Location: London - UK
Posts: 15,730
#3: Jan 8 '09

re: Access Form Scrollbars


I'm equally limited on subform experience, but that does sound like a sensible answer.

The cursor always goes to one of the controls on a form or subform. This is controlled by the tab order. It stands to reason this is what's causing your situation.

Let us know how you get on with this.

Welcome to Bytes!
DonRayner's Avatar
Expert
 
Join Date: Sep 2008
Location: Canada
Posts: 494
#4: Jan 9 '09

re: Access Form Scrollbars


It's probally being caused by the subform being larger than it's control on the main form. You will either have to reduce the size of the actual subform or increase it's control size.
missinglinq's Avatar
Moderator
 
Join Date: Nov 2006
Location: Richmond, Virginia USA
Posts: 3,000
#5: Jan 9 '09

re: Access Form Scrollbars


Actually, I suspect it's a function of both of these things! A control near the bottom of the tabbed page getting focus and the tabbed control being too long. Can't really say I've ever seen tabbed pages on a subform.
Linq ;0)>
Reply


Similar Microsoft Access / VBA bytes