Pressing the Enter Key

G

Guest

I have asked this before but obviously didn't explain myself as I didn't get
the answer I expected.
When I enter some data into a field on a form I want to simply press the
Enter key on my keyboard to trigger a new form to open using the data I have
entered. Currently once I've typed in the input data I click a button using
the mouse and the new form opens. I just want to type then press enter - how
do I set this up? Currently hitting Enter moves the focus to my button then
pressing enter again triggers the new form opening - I just want to press
enter once.
 
P

Philo Hamel via AccessMonster.com

Hi,
Its funny, I was just looking for the answer myself and found it. On the
property sheet for the button in form design view, on the Other
tab of the property sheet, set the button's Default property to Yes.

It's that easy!
Later,
Philo
 

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