views:

136

answers:

2

So I have a form that user's use for data entry, and on one form there is a text box there that is basically used. To enter notes. However, if the user hits i need the cursor to stay in that text box, and start a new line (uh....like word would)....but currently it is jumping to the next control (text box).

So is there a simple property setting that would do the trick? Or a VBA method to accomplish?

Thanks Justin

+1  A: 

In Ac2003, there is the "Enter Key Behaviour" property, which gets set to "New Line in Field".

Scott B
perfect! thanks Scott!
Justin
+1  A: 

I suspect Scott's answer is what you're looking for. That property is available in Access 2007 also.

Another option would be to have the users enter CTRL+Enter to insert a line into the text control. Your users may not go for it, though.

HansUp
I completely misread the question :)
Remou
@Remou...no worries...sometimes I mis-read the answers! :)
Justin
@Hans ....guessing they don't because I didn't know that, and they were asking me about changing it. pretty cool thanks!
Justin
is this called "Carriage return"?
Justin
@Justin Maybe. I'd have to test to figure out what gets inserted: carriage return; linefeed; or carriage return + linefeed. Or you could test it. :-)
HansUp
i just meant is that the proper terminology for that idea?
Justin