G
Guest
Hello all,
I hope someone could share some insight on this strange issue I've been
having. I've been building a database for about three weeks now and I have
so far had no problems with it (on MY system). My boss at work opened the
database up and tried to open the form. He got this error:
-----
"The expression "On Load" you entered as the event property setting produced
the following error: Object or class does not support the set of events.
*The expression may not result in the name of a macro, the name of a
user-defined function, or [Event Procedure]. *There may have been an error
evaluating the function, event, or macro."
-----
For one thing, I don't see how it couldn't work on his, but it does on mine.
I tried it on a couple other systems and they had the same problems as well.
All tested systems use Access XP with Windows 2000 SP4 and are all part of
our corporate Novell network (they're all Dell OptiPlex GX270's--should be
the exact same systems). I checked the References in VBA and none of them
were missing on the systems getting the errors. The other systems got
similar errors in other forms for Expression 'On Click', 'On
MouseMove'...anything. I even tried to trap the errors using the Form_Error
subroutine but it came up with the same error specified above with
"Expression 'On Error'".
Here's how I "temporarily" fixed it. I just went into VBA and cut the
Form_Load sub out of my code and pasted it back in. I changed NOTHING
physically and then everything worked fine, however, after a while the errors
started happening again. I didn't know until trying someone else's system
because, like I said, I don't get the errors on mine. I've scoured through
the online help and discussion groups and haven't been able to find any clues
towards debugging this issue.
Before making this too long of a question, has anyone run into this type of
problem before? I can elaborate as needed. It is acting like it can't find
the VBA code right away.
Best regards,
Bill K
I hope someone could share some insight on this strange issue I've been
having. I've been building a database for about three weeks now and I have
so far had no problems with it (on MY system). My boss at work opened the
database up and tried to open the form. He got this error:
-----
"The expression "On Load" you entered as the event property setting produced
the following error: Object or class does not support the set of events.
*The expression may not result in the name of a macro, the name of a
user-defined function, or [Event Procedure]. *There may have been an error
evaluating the function, event, or macro."
-----
For one thing, I don't see how it couldn't work on his, but it does on mine.
I tried it on a couple other systems and they had the same problems as well.
All tested systems use Access XP with Windows 2000 SP4 and are all part of
our corporate Novell network (they're all Dell OptiPlex GX270's--should be
the exact same systems). I checked the References in VBA and none of them
were missing on the systems getting the errors. The other systems got
similar errors in other forms for Expression 'On Click', 'On
MouseMove'...anything. I even tried to trap the errors using the Form_Error
subroutine but it came up with the same error specified above with
"Expression 'On Error'".
Here's how I "temporarily" fixed it. I just went into VBA and cut the
Form_Load sub out of my code and pasted it back in. I changed NOTHING
physically and then everything worked fine, however, after a while the errors
started happening again. I didn't know until trying someone else's system
because, like I said, I don't get the errors on mine. I've scoured through
the online help and discussion groups and haven't been able to find any clues
towards debugging this issue.
Before making this too long of a question, has anyone run into this type of
problem before? I can elaborate as needed. It is acting like it can't find
the VBA code right away.
Best regards,
Bill K