Solved

Access Calling Another Form Form_AfterUpdate

Posted on 2001-07-16
8
618 Views
Last Modified: 2008-03-17
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
Comment
Question by:bostonroxx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 19

Expert Comment

by:frankytee
ID: 6287935
off the top of my head, try the below syntax:

call me.parent.form.afterupdate

or

call me.parent.form.form_afterupdate


0
 
LVL 6

Accepted Solution

by:
xSinbad earned 50 total points
ID: 6287952
I would suggest that you place this code in a Module so it can be easily called from anywhere.

Cheers
Marcus
0
 

Expert Comment

by:ppshi
ID: 6288305
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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 6

Expert Comment

by:cjswimmer
ID: 6293923
0
 

Expert Comment

by:costello
ID: 6403565
Rejecting proposed answer.

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

bostonrox,


costello
Community Support Moderator @ Experts-Exchange
0
 

Expert Comment

by:amp072397
ID: 6744823
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
 

Expert Comment

by:amp072397
ID: 6759010
0
 
LVL 5

Expert Comment

by:Netminder
ID: 6949405
Admin notified of User neglect. Force-accepted by
Netminder
CS Moderator
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question