main form oncurrent event

  • Thread starter Thread starter arm
  • Start date Start date
A

arm

Hello! Could anyone please help me as to how I can call the Oncurrent event
in the main form from a command button of a subform. Thank you in advance.
 
I think that you need to tell us why you want to! I cannot immediately
think of a good reason for calling a form's OnCurrent Event without
changing its current record (which would call it "automatically").

Hello! Could anyone please help me as to how I can call the Oncurrent event
in the main form from a command button of a subform. Thank you in advance.


Please respond to the Newsgroup, so that others may benefit from the exchange.
Peter R. Fletcher
 
Call Me.Parent.Form_Current

In the parent form, you need to change the declaration of Form_Current from:

Private Sub Form_Current()

to

Public Sub Form_Current()
 
Back
Top