Connecting Tech Pros Worldwide Forums | Help | Site Map

OnActivation events and subforms in main form.

Olivier
Guest
 
Posts: n/a
#1: Nov 12 '05
Hi,
I have a (newbie)problem with a macro activated in a subform.

That's the hierarchy in my form:
Main form
----subform1
----subform2
----subform3

I have a macro that is called on OnActivate in subform1 and that macro
find a record in subform3. It work well when the forms are all loaded
but when I open Mainform the first time, it says that the item I
use(combobox) to do my search doesn't exist. My guess is that the
OnActivate Macro is called before subform3 has finish loading. I need
the subforms to update themselves when I change the record in
subform1.

Is there a ms-access god that can help me ?

Thanks
Olivier

Closed Thread