I created a form in Access 2003
added a command button and text box
In the click event o f command button
Textbox1.text= "testing"
I get a runtime error 2185
you can't reference a propoerty or method of control unless the control has the focus
I added textbox1.setfocus in the click button. It works now but i don't think I needed to add it before.
Any suggestions?
(I tried adding me.Textbox1.text= "testing". This didn't work)
added a command button and text box
In the click event o f command button
Textbox1.text= "testing"
I get a runtime error 2185
you can't reference a propoerty or method of control unless the control has the focus
I added textbox1.setfocus in the click button. It works now but i don't think I needed to add it before.
Any suggestions?
(I tried adding me.Textbox1.text= "testing". This didn't work)