Hi
I have a small database with one form containing 4 small subforms. Whenever I click any of the buttons on the form I get this error:
"The expression OnClick you entered as the event property setting produced the following error: object or class does not support the set of events"
I've seen this before many times, went into the event procedure of the OnClick event and fixed it. Problem this time is I can't get into the event procedure. When I try and get into the code for any button access crashes and throws me out. I can't even get in to copy it.
I've tried compact and repair and creating a new db file/importing everything again.No joy. Tables,queries, reports all work fine.
Looks like corrupt code on the form but i'd rather not spend time rewriting it as some was quite tricky to get working in the first place, any suggestions?
p.s. I had 2 backup copies of this database (one saved locally) and both of them are doing the same thing which is really puzzling me! Tried it on another PC as well!
I have a small database with one form containing 4 small subforms. Whenever I click any of the buttons on the form I get this error:
"The expression OnClick you entered as the event property setting produced the following error: object or class does not support the set of events"
I've seen this before many times, went into the event procedure of the OnClick event and fixed it. Problem this time is I can't get into the event procedure. When I try and get into the code for any button access crashes and throws me out. I can't even get in to copy it.
I've tried compact and repair and creating a new db file/importing everything again.No joy. Tables,queries, reports all work fine.
Looks like corrupt code on the form but i'd rather not spend time rewriting it as some was quite tricky to get working in the first place, any suggestions?
p.s. I had 2 backup copies of this database (one saved locally) and both of them are doing the same thing which is really puzzling me! Tried it on another PC as well!
Last edited: