very basic MS access 2007 (button click no read issue)

  • Thread starter Thread starter loc_p
  • Start date Start date
L

loc_p

I added 2 text fields and a button to a form in MS access 2007. and i went
to the code builder and tried to add values to the text fields .

ex:

textBox1.text = "name"

i coded this to the button click event.. but some times after i get an
error.. the button click property never works...

so i have to create a new form and redo it. can some one tell me why this is
hapenning , and tell me a way to prevent this..
 
In Access, you can only use the text property if the control has the focus.
Instead, try:

textbox1 = "Name"

or

textbox1.Value = "Name"
 
Back
Top