Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Applies to

Form Object

You can use the Cycle property to specify what happens when you press the TAB key and the focus is in the last control on a bound form. Read/write Byte.

expression.Cycle

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

The Cycle property uses the following settings.

Setting

Visual Basic

Description

All Records

0

(Default) Pressing the TAB key from the last control on a form moves the focus to the first control in the tab order in the next record.

Current Record

1

Pressing the TAB key from the last control on a record moves the focus to the first control in the tab order in the same record.

Current Page

2

Pressing the TAB key from the last control on a page moves the focus back to the first control in the tab order on the page.


Note: You can set the Cycle property by using the form's property sheet, a macro, or Visual Basic for Applications (VBA) code.

You can set the Cycle property in any view.

When you press the TAB key on a form, the focus moves through the controls on the form according to each control's place in the tab order.

You can set the Cycle property to All Records for forms designed for data entry. This allows the user to move to a new record by pressing the TAB key.

Note: The Cycle property only controls the TAB key behavior on the form where the property is set. If a subform control is in the tab order, once the subform control receives the focus, the Cycle property setting for the subform determines what happens when you press the TAB key.

To move the focus outside a subform control, press CTRL+TAB.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×