Help on error message

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have just started getting the following error message in my coding within a
form. When setting a variable to a text object on a form I get this message:

You can't reference a property or method for a contol unless the control has
the focus. Any ideas why I am getting this?

Thank you.
 
Usually, this error happens when you use the Text Property of the Control.
Try using the Value Property instead.

If it is not the above, you need to post the relevant code and describe what
you are trying to do.
 
Back
Top