By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,841 Members | 1,736 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,841 IT Pros & Developers. It's quick & easy.

event procedure update

P: n/a
Hi,
How does one triger, from a subform event procedure, a main form event
procedure?
Access 2000
Thanks

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
<ge****@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Hi,
How does one triger, from a subform event procedure, a main form event
procedure?
Access 2000
Thanks


Me.Parent.MainFormEvent

For example, if your main form has a sub like the following:
Public Sub EnumData()
....

To call this sub from the subform, your subform's code should have the
following statement:
Me.Parent.EnumData

NOTE: This will not work for Private form events. Any events on the main
form to be called thus from the subform must be Public.
Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.