ACC2000: How to Set Focus to a Subform Control Using GoToControl (209689)
The information in this article applies to:
This article was previously published under Q209689 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).
SUMMARY
To set the focus to a control on a subform, you can create a macro that
uses the GoToControl action to first move to the subform (which is a
type of a control), and then uses the GoToControl action again to move to a
particular control on the subform.
NOTE: This article explains a technique demonstrated in the sample
file, FrmSmp00.mdb. For information about how to obtain this sample file,
please see the following article in the Microsoft Knowledge Base:
233324 ACC2000: Microsoft Access 2000 Sample Forms Database Available in Download Center
REFERENCESFor more information about moving to a specific control, click Microsoft Access Help on the Help menu, type GotoControl action in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
| Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
|---|
| Keywords: | kbhowto kbProgramming kbusage KB209689 |
|---|
|