Subforms and page tabs at top of form

clf

New member
Local time
Today, 18:21
Joined
Jan 9, 2001
Messages
8
I have created a main form with tabs at the top of it to navigate through different pages of the same form. On page two, I have placed a subform. My problem is, when I switch from page 1 of the form to page 2 where the subform is located it automatically scrolls down to the beginning of the subform. This is a problem because it hides the page tabs and you have to scroll up in order to use them again. Also, any text or buttons placed on the page above the subform are also hidden until you scroll up to them. Is there any way to set the form so that when I switch to different pages, it automatically shows the top without scrolling down to the subform? Any comments appreciated, Thanks.
 
In the design view, under the menu command View, you will have a Form and Page Header/Footer. Depending on what you need, try these and place the tab control in there. They will remain frozen while the detail scrolls.
 
Isn't thisd something to do with the Tab Order. Try creating another field on Page 2, but hide it. Then set the tab order so that this field is at the top.

This should work.
 
Thanks for your suggestions. I changed the tab order and it fixed my problem.
 
I had the same problem, tried the tab order suggestion (the new field was an unbound text box) and it didn't work.

Then changed the unbound text box back to Visible (Assuming that hide = set Visible property to No). Now the tabs are visible when I go to the page. However, the focus is on the unbound text box. When I tab to the first field on the subform, the form scrolls past the tabs to the top of the subform detail again.

Is there some way to get it to go directly to the first field on the subform without scrolling? I tried going to the subform with setfocus or gotocontrol, then to the field on the subform, but it tells me the subform doesn't exist.

Thanks for any help.


[This message has been edited by pbuethe (edited 04-29-2002).]

[This message has been edited by pbuethe (edited 05-01-2002).]
 

Users who are viewing this thread

Back
Top Bottom