Oncurrent event

  • Thread starter Thread starter DanWH
  • Start date Start date
D

DanWH

I have a form with code in the Oncurrent event that runs just fine.

On my form I have a combo box that changes a variable in that code so that
after I change the contents of the combobox I want the code in that form's
Oncurrent property to fun again.

I've tried all the me.refresh/repaint/requery, docmd.requery/repaintobject,
and it doesn't work.

How can I redo the oncurrent event code just by updating a combobox in that
same form?

thanks
Dan
 
Call the Current event in the After Update event of your combo box;

Private Sub cboYourCombo_AfterUpdate()

Form_Current

End Sub
 
Back
Top