Table of contents
TOC
Collapse the table of content
Expand the table of content

TextBox.EnterKeyBehavior Property (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

You can use the EnterKeyBehavior property to specify what happens when you press ENTER in a text box control in Form view or Datasheet view. Read/write Boolean.

Syntax

expression. EnterKeyBehavior

expression A variable that represents a TextBox object.

Remarks

For example, you can use this property if you have a control bound to a Memo field in a table to make entering multiple-line text easier. If you don't set this property to New Line In Field, you must press CTRL+ENTER to enter a new line in the text box.

You can also set the default for this property by setting a control's DefaultControl property in Visual Basic.

See also

Concepts

TextBox Object

© 2018 Microsoft