enter key and it requerys

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

is there a way when i press the enter Key i can get ti to requery

for example i have a search field, hit enter key and it requerys
 
you could place a Command Button on the form, and in the properties of
that Button, set the "Default" property to Yes. The Default button
on a form is what runs when a user presses enter.

Then in the "On Click" event of that button, you put in your code to
requery your listbox or whatever you may have.
 
Back
Top