S
Steve Marshall
Hi all,
I have a combo box with several combo boxes where changes in each must
cascade down and change the rowsource of the next. That's all OK within
that form, but the problem is that I cannot find a way to invoke either the
Change or Afterupdate events when the selection in a combo is changed by
code on another form, rather than by the user. I really need to be able to
do this. I have tried directly calling the AfterUpdate event procedure on
the combo from the other form (after making AfterUpdate Public), but this
causes compile errors. There has to be a way to make this happen, doesn't
there? All I want is for the Change or AfterUpdate event to fire when I
change the combo in code. Seems to me it should happen all by itself.
Thanks
I have a combo box with several combo boxes where changes in each must
cascade down and change the rowsource of the next. That's all OK within
that form, but the problem is that I cannot find a way to invoke either the
Change or Afterupdate events when the selection in a combo is changed by
code on another form, rather than by the user. I really need to be able to
do this. I have tried directly calling the AfterUpdate event procedure on
the combo from the other form (after making AfterUpdate Public), but this
causes compile errors. There has to be a way to make this happen, doesn't
there? All I want is for the Change or AfterUpdate event to fire when I
change the combo in code. Seems to me it should happen all by itself.
Thanks