[AccessD] Calling an AfterUpdate evnte proc. of a combo

philippe pons phpons at gmail.com
Mon Feb 9 10:05:35 CST 2009


Hi all,

I have a small proc. to which I pass a reference to a combo box.
This proc has to synchronize the combo on the first item
and run the AfterUpdate event proc.

Private Sub syncCboTest(ByRef cbo As ComboBox)
    ' syn de la cbo de sélection du chapitre
    cbo.SetFocus
    cbo = cbo.ItemData(0)
'    Call cboSelChap_AfterUpdate
    Call cbo_AfterUpdate '<== this won't work!
End Sub

The question:

How would you call the AfterUpdate event of a combobox that is represented
by it's reference??
something like: cbo_AfterUpdate!

If it is even possible!

Best regards,

Philippe Pons



More information about the AccessD mailing list