ACC: How to Create a Cyclic Tab Order in a FormLast reviewed: April 2, 1997Article ID: Q112064 |
The information in this article applies to:
SUMMARYModerate: Requires basic macro, coding, and interoperability skills. This article describes a technique that you can use to create a cyclic tab order on a form, so that pressing TAB in the last control on a form moves you back to the first control on the form (instead of moving you to the first control on the next record); and pressing SHIFT+TAB in the first control on a form moves you to the last control on the form. NOTE: In Microsoft Access 7.0 and 97, the cyclic tab order of a form can be controlled by setting the form's Cycle property to All Records, Current Record, or Current Page. The information below applies to Microsoft Access versions 1.0, 1.1, and 2.0 only.
MORE INFORMATIONThe following example demonstrates how to create a cyclic tab order on the Customers form in the sample database NWIND.MDB. This technique uses two transparent command buttons, one at the top and one at the bottom of the form's tab order. When you press TAB in the last control, or SHIFT+TAB in the first control, you run a macro attached to the OnEnter property of the transparent command button at the top or bottom of the form's tab order.
For more information about the Cycle property, search the Help Index for "cycle," or ask the Microsoft Access 97 Office Assistant.
|
Additional query words: circular
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |