I have an odd issue with a form I have in MS Access. For some reason, when I hit the "enter" key within a text box, the cursor moves to a different text box. What i am looking to happen is for the cursor to simply move to another line within the same text box.
Anyone have any ideas how to correct this?
In a table or query: press Ctrl+Enter to insert a line break. In a form: set the 'Enter Key Behavior' property of a text box (in the Other tab of the Property Sheet for the text box) to 'New Line in Field'.
You can use Ctrl + Enter to enter a new line into any text box. For a specific text box, you can make the Enter insert a new line instead of moving to another control on the form by changing the text box's Enter Key Behavior property.
Go to Access settings=> document window options and select tabbed documents . Any form you want to have specific size, you can then set as "popup". You can still have your custom form with custom bg colour, size 1cmx1cm, no scroll, no navigation bar, no record selctor, borderstyle none .
You can use Ctrl+Enter to enter a new line into any text box.
For a specific text box, you can make the Enter insert a new line instead of moving to another control on the form by changing the text box's Enter Key Behavior property.
That's what I think you're actually looking for, but you would need to set that property for every text box where you want it to happen ... which may be fine for your needs. I mentioned Ctrl+Enter first only because that method works for any text box without changing the default property setting.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With