Text Box Control.
You can use the AutoTab property to specify whether an automatic tab occurs when the last character permitted by a text box controls input mask is entered. An automatic tab moves the focus to the next control in the forms tab order.
The AutoTab property uses the following settings.
Setting | Description | Visual Basic |
Yes | Generates a tab when the last allowable character in a text box is entered. | True (-1) |
No | (Default) Doesnt generate a tab when the last allowable character in a text box is entered. | False (0) |
You can set this property using the controls property sheet, a macro, or Visual Basic.
You can also set this property using the controls default control style.
The AutoTab property affects tab behavior in both Form view and Datasheet view.
You create an input mask for a control using the InputMask property.
You can also create an input mask for a text box control bound to a field by setting the InputMask property for the field in the forms underlying table or query. If the field is dragged to a form from the field list, the fields input mask is inherited by the text box control.
You could use the AutoTab property if you have a text box on a form for which you usually enter the maximum number of characters for each record. Once the maximum number of characters are entered, focus automatically moves to the next control in the tab order. For example, you could use this property for a CategoryType field that must always be five characters long.
Cycle Property, InputMask Property, TabIndex Property, TabStop Property.