Pressing the Enter Key

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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
 
Back
Top