enter key and it requerys

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
 
G

ghetto_banjo

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.
 

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

Similar Threads


Top