Hello,
I have posted this issue on the forms forum a couple of times but still have not found a solution to my problem. Perhaps the members of this forum can help...
I have a tab control with a main form on the first tab and subforms on the remaining tabs (using Access2000). Each form is wider and longer than the screen itself, so if I want to modify the fields that are out of view when the form is centered on the screen, I must use the scroll bars to bring certain portions of the subform into view . If I enter data into the main form and use the tab key to move through the fields, the cursor will always remain in view because my screen centers the cursor and its location automatically (i.e., I don't have to use the mouse and scroll bar to manually see this)--and, so far as I know, I did nothing to make this automation happen. However, with my subforms that is not the case.
With the subforms the screen centering does not shift with my cursor movement; I can only see the full screen with the use of the mouse/scroll bar (which I am trying to minimize). NOTE: when I look at the subform on its own--i.e., not as a subform
on the tabs but as its own form--the screen shifts with the tabbing movement/data entry just fine...
Some colleagues suggested I try the "size to fit window" option under the Window menu, and one suggested I needed to do this along with the "vertical only" view of the scrollbars (under form properties). I have tried both of these things and
neither seems to work. I also tried some code that was suggested as an "ugly" fix:
Sub ControlName_Enter ()
Me.GoToPage1, Me!ControlName.Left,0
end Sub
I was told I would need to enter this code on each control I was having problems viewing without using the mouse. I only tried on one control and did not have luck--received every error in the book, and fiddled with syntax, added DoCmd, moved things around until I was blue in the face.
Now that I am blue in the face, I am wondering: Do any of you know how to fix this problem (other than altering the size of all my controls on the subform so that in its entirety the subform is not wider or longer than the screen--which is not a
viable option)???
Thank you,
E.
I have posted this issue on the forms forum a couple of times but still have not found a solution to my problem. Perhaps the members of this forum can help...
I have a tab control with a main form on the first tab and subforms on the remaining tabs (using Access2000). Each form is wider and longer than the screen itself, so if I want to modify the fields that are out of view when the form is centered on the screen, I must use the scroll bars to bring certain portions of the subform into view . If I enter data into the main form and use the tab key to move through the fields, the cursor will always remain in view because my screen centers the cursor and its location automatically (i.e., I don't have to use the mouse and scroll bar to manually see this)--and, so far as I know, I did nothing to make this automation happen. However, with my subforms that is not the case.
With the subforms the screen centering does not shift with my cursor movement; I can only see the full screen with the use of the mouse/scroll bar (which I am trying to minimize). NOTE: when I look at the subform on its own--i.e., not as a subform
on the tabs but as its own form--the screen shifts with the tabbing movement/data entry just fine...
Some colleagues suggested I try the "size to fit window" option under the Window menu, and one suggested I needed to do this along with the "vertical only" view of the scrollbars (under form properties). I have tried both of these things and
neither seems to work. I also tried some code that was suggested as an "ugly" fix:
Sub ControlName_Enter ()
Me.GoToPage1, Me!ControlName.Left,0
end Sub
I was told I would need to enter this code on each control I was having problems viewing without using the mouse. I only tried on one control and did not have luck--received every error in the book, and fiddled with syntax, added DoCmd, moved things around until I was blue in the face.
Now that I am blue in the face, I am wondering: Do any of you know how to fix this problem (other than altering the size of all my controls on the subform so that in its entirety the subform is not wider or longer than the screen--which is not a
viable option)???
Thank you,
E.