ACC: GoToControl to Control with Focus in AfterUpdate IgnoredLast reviewed: May 27, 1997Article ID: Q90806 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. When a control has the focus and the GoToControl action is carried out with the same control name that has the focus, the focus will move to the next control in the tab order. The focus will not stay on the control that currently has the focus, as you would expect.
RESOLUTIONTo prevent the focus from leaving the field, you can use an OnExit macro that performs the CancelEvent action. Or, if you want to prevent the field from being saved (and also prevent the focus from leaving the control), you can use a validation rule or a BeforeUpdate macro.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior
REFERENCESFor more information about GoToControl, search the Help Index for "GoToControl action," or ask the Microsoft Access 97 Office Assistant. |
Keywords : kbusage McrActn
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |