AllowAutoCorrect Property [Access 2003 VBA Language Reference]
You can use the AllowAutoCorrect property to specify whether a text box or a combo box control will automatically correct entries made by the user. Read/write Boolean.
expression.AllowAutoCorrect
expression Required. An expression that returns one of the objects in the Applies To list.
Setting
The AllowAutoCorrect property uses the following settings.
Setting | Visual Basic | Description |
---|---|---|
Yes | True | (Default) Entries are automatically corrected according to the settings in the AutoCorrect dialog box. |
No | False | Entries aren't corrected. |
You can set the AllowAutoCorrect property by using a control's property sheet , a macro , or Visual Basic . You can set the default for this property by using a control's default control style or the DefaultControl property in Visual Basic.
Applies to | ComboBox Object | TextBox Object
See Also | DefaultControl Property