ACC: How to Set Focus to a Subform Control Using GoToControl (95014)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q95014 SUMMARY
Novice: Requires knowledge of the user interface on single-user computers.
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
files, FrmSampl.exe (for Microsoft Access for Windows 95 version 7.0)
and FrmSmp97.exe (for Microsoft Access 97). For information about how
to obtain these sample files, please see the following articles in the
Microsoft Knowledge Base:
150895 ACC95: Microsoft Access Sample Forms Available in Download Center
175066 ACC97: Microsoft Access 97 Sample Forms Available in Download Center
REFERENCES
For more information about moving to a specific control, search for
"GotoControl action" using the Microsoft Access 97 Help Index.
Modification Type: | Major | Last Reviewed: | 5/9/2003 |
---|
Keywords: | kbhowto kbusage KB95014 |
---|
|