G
Guest
I know this is possible, but I can't remember how.
I have a form based on a table. On the form is an unbound text box for the
user to enter the ID number of the record he wants to go to. Right now the
user has to enter a number and then click the command button to open the form
to that record. Or, since the command button has the focus after the text
box, the user can hit enter twice (once to go to the command button and the
second time to click the command button) to go to the record. I would like
the user to be able to enter an ID number and hit enter once to go to the new
record. I tried setting the focus to the command button in the after update
event of the text box--that does not work.
I am wracking my brain trying to remember how this is done. I would
appreciate your help!
Thank you,
Judy
I have a form based on a table. On the form is an unbound text box for the
user to enter the ID number of the record he wants to go to. Right now the
user has to enter a number and then click the command button to open the form
to that record. Or, since the command button has the focus after the text
box, the user can hit enter twice (once to go to the command button and the
second time to click the command button) to go to the record. I would like
the user to be able to enter an ID number and hit enter once to go to the new
record. I tried setting the focus to the command button in the after update
event of the text box--that does not work.
I am wracking my brain trying to remember how this is done. I would
appreciate your help!
Thank you,
Judy