I have a couple of main forms with sub-forms. They originated as one form which was copied to create the second form. I then replaced one of the sub-forms with a new sub-form.
One of these functions as I want, firing off events as needed when certain events occur in both the main and sub-form parts.
The other, when loading, presents me with an error dialog box.
The massage in the dialog box is as follows:
The expression On "some form event" 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 am error evaluating the function, even, or macro.
Then, there is a show help button, which is naturally, of no help.
If I remove all events from the sub-form properties, the errors go away, but then, nothing happens like I need it to.
I also tried removing all form Events but leaving a single event on one of the form objects, a combo box. The event was a GotFocus event. Same error message.
Somehow, no events seem to be allowed in this sub-form.
Does anyone know how to fix this?