Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

TextBox.EnterKeyBehavior Property (Access)

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.

expression .EnterKeyBehavior

expression A variable that represents a TextBox object.

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.