Object Invalid message

  • Thread starter Thread starter dagwood
  • Start date Start date
D

dagwood

I sometimes get this message which says 'Object invalid as no longer set' It
occurs randomly. But when it does it does not allow me to close the form or
get out of the program as what ever i do it just repeats the message.
Can anyone advise what may be wrong and how to get out of the form?
Thanks in advance
 
To solve the problem, you will need to observe when it occurs.

Is it when/after a particular routine runs?
Are you able to identify the procedure in which it occurs?
What line of code generates the error?
What version of Access is this?

There are lots of possible causes. Examples:
a) code that fails to initialize a variable properly
b) code that closes a variable before it should
c) code that closes something you did not open, such as trap #3 here:
http://allenbrowne.com/ser-37.html
d) reference problems
e) a corruption (the kind that a decompile fixes.)
f) inappropriate editing of the code while it is running
 
Back
Top