Text box and "Enter"

P

Phillip

Hi,
I have a text box on a form which is linked to a memo field in a table. As
I enter data in the text box if I press "Enter" it leaves the text box and
goes to the next item on my form. Can't you use an Enter within a text box?
I want to format the data as I enter it for printing later.
Thanks,
Phil
 
M

Marshall Barton

Phillip said:
I have a text box on a form which is linked to a memo field in a table. As
I enter data in the text box if I press "Enter" it leaves the text box and
goes to the next item on my form. Can't you use an Enter within a text box?
I want to format the data as I enter it for printing later.


Just set the text box's EnterKeyBehavior property to New
Line in Field
 
J

John W. Vinson

Hi,
I have a text box on a form which is linked to a memo field in a table. As
I enter data in the text box if I press "Enter" it leaves the text box and
goes to the next item on my form. Can't you use an Enter within a text box?
I want to format the data as I enter it for printing later.
Thanks,
Phil

By default, the Enter key (like the Tab key) saves the field and moves on to
the next; Ctrl-Enter enters a newline character into the field.

To reverse these, set the textbox's "Enter Key Behavior" property to "New Line
in Field".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top