Link to home
Start Free TrialLog in
Avatar of bostonroxx
bostonroxx

asked on

Access Calling Another Form Form_AfterUpdate

How in Access can you from a subform call the Form_AfterUpdate of the main form?  I tried
Call frmOrders.Form_AfterUpdate
It did not work.
Avatar of frankytee
frankytee
Flag of Australia image

off the top of my head, try the below syntax:

call me.parent.form.afterupdate

or

call me.parent.form.form_afterupdate


ASKER CERTIFIED SOLUTION
Avatar of xSinbad
xSinbad

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ppshi
ppshi

Firstly, u should delcare the afterupdate function as Public in frmorders :
  public sub AfterUpdate(...)

and then in other forms, call it as :
  Call Form_frmorders.afterUpdate(...)
Rejecting proposed answer.

Please read answer vs. comment tips on bottom of this page, ppshi.

bostonrox,


costello
Community Support Moderator @ Experts-Exchange
bostonroxx:

I see that you've logged in just a few days ago.

This is a free technical support site.

Experts who answer questions here receive no pay or other compensation except Expert points as a result answering questions and being awarded points.

As a result, and as a Moderator of this forum, my goal is to ensure that Experts and Askers alike no longer allow questions to get stale.

Please provide that feeback now. It's greatly appreciated!

If you need any help at all in cleaning up this or any other questions, don't hesitate to contact me via email. I will assist in any way that I can.

thanks
amp
community support moderator
amp@experts-exchange.com
Admin notified of User neglect. Force-accepted by
Netminder
CS Moderator