Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 672
  • Last Modified:

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.
0
bostonroxx
Asked:
bostonroxx
1 Solution
 
frankyteeCommented:
off the top of my head, try the below syntax:

call me.parent.form.afterupdate

or

call me.parent.form.form_afterupdate


0
 
xSinbadCommented:
I would suggest that you place this code in a Module so it can be easily called from anywhere.

Cheers
Marcus
0
 
ppshiCommented:
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(...)
0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
costelloCommented:
Rejecting proposed answer.

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

bostonrox,


costello
Community Support Moderator @ Experts-Exchange
0
 
amp072397Commented:
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
0
 
NetminderCommented:
Admin notified of User neglect. Force-accepted by
Netminder
CS Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now