Solved

Access Calling Another Form Form_AfterUpdate

Posted on 2001-07-16
8
594 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
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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access 2016 - Labels prompt to print 4 31
Documents and settings folder 30 78
VBA Access 2016 syntax 6 42
Experience with VBA code that changes unexplicably? 8 24
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
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.

773 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