main form oncurrent event

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.
 
P

Peter R. Fletcher

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
 
D

Douglas J. Steele

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()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top