Solved

Access Calling Another Form Form_AfterUpdate

Posted on 2001-07-16
8
624 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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
 
LVL 5

Expert Comment

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

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

695 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