Combo box problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This should be simple. I have a combo box that creates a filter on a form
after it is updates. I've set the On Change event to cause the combo box to
drop down. I like this because is shows me the selections available as I
narrow things down. I want to be able to select the correct item using the
keyboard, then hit the enter key. No matter what I do I cannot get it to
respond to the "Enter" key. The only thing that works is to put a button on
the form with no code and set the default value to "Yes". When I do the the
after update event will then kick off. k I know I can use the tab key or the
mouse, but I like the Enter key.

Any suggestions?
 
I just tried this in Access 2003 and it appears to work. There were several
bugs in the combo boxes that were fixed in Access 2002 or 2003, but I don't
remember which. As a work around, you may be able to use the control's
KeyPress event and check for KeyAscii = 13 and react accordingly. Also,
check your settings in Tools|Options|Keyboard, Move After Enter option.
 
I used the Keypress event, thanks.

Wayne Morgan said:
I just tried this in Access 2003 and it appears to work. There were several
bugs in the combo boxes that were fixed in Access 2002 or 2003, but I don't
remember which. As a work around, you may be able to use the control's
KeyPress event and check for KeyAscii = 13 and react accordingly. Also,
check your settings in Tools|Options|Keyboard, Move After Enter option.
 
Back
Top