ACC2000: Wide Subform Does Not Scroll to Show Active Control (209190)
The information in this article applies to:
This article was previously published under Q209190 Novice: Requires knowledge of the user interface on single-user computers.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SYMPTOMS
The insertion point disappears when you use the TAB key to move between
the controls on a subform that is wider than the main form window or the
screen.
CAUSE
When you move from one control to another on a form, the form updates the
screen so that the active control is displayed, and scrolls the window if necessary. However, a subform is a single control on a form, and it remains selected while the insertion point is anywhere within it. The screen does not scroll to show the active control in a subform because the subform itself is considered to be the active control.
NOTE: This behavior does not apply to subforms in Datasheet view.
RESOLUTION
Use the horizontal scroll bar to see the active control on the subform.
If the form's design does not provide scroll bars, it is necessary to set its Scroll Bars property to either Horizontal Only or Both.
To set the Scroll Bars property of the form, follow these steps: CAUTION: If you follow the steps in this example, you modify the sample database Northwind.mdb. You may want to back up the Northwind.mdb file and follow these steps on a copy of the database. - Start Microsoft Access and open the sample database Northwind.mdb or the sample project NorthwindCS.adp.
- In the Database window, under Objects, click Forms, click Orders, and then click Design.
- If the property sheet is not already visible, on the View menu, click Properties.
- On the property sheet, click the Format tab, click Scroll Bars, and then select Horizontal Only.
- Save and close the Orders form.
REFERENCESFor more information about using forms and subforms, click Microsoft Access Help on the
Help menu, type subforms: what they are and how they work in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Major | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbprb KB209190 |
---|
|