G
Guest
In my form When I use SetFocus on a text box in the "Keyup" event I find that
I can only enter one single letter into the text box. If I try to enter the
next letter of a word or name, the first letter disapears! Probably because
my text box "updates" with the form. I need to have each character entered
into the text box remain after each update until they are deleted or
backspaced out of the text box.
Here is the actual sub.
Private sub textbox_Keyup
Textbox.SetFocus
Me.Requery
End Sub
The goal is to enter text letters one at a time and update the form every
time I add an additional letter. This same code gives the correct result in
Access 97 but will not work in newer versions of access.
If I comment out the Textbox.set focus the form works but the focus is
always in the wrong place.
I will be glad to provide more information if it is needed.
I can only enter one single letter into the text box. If I try to enter the
next letter of a word or name, the first letter disapears! Probably because
my text box "updates" with the form. I need to have each character entered
into the text box remain after each update until they are deleted or
backspaced out of the text box.
Here is the actual sub.
Private sub textbox_Keyup
Textbox.SetFocus
Me.Requery
End Sub
The goal is to enter text letters one at a time and update the form every
time I add an additional letter. This same code gives the correct result in
Access 97 but will not work in newer versions of access.
If I comment out the Textbox.set focus the form works but the focus is
always in the wrong place.
I will be glad to provide more information if it is needed.