Solved

Parent drop-down refresh after change on child form

Posted on 2012-04-04
2
368 Views
Last Modified: 2012-04-10
I have a parent/child form.  On the parent form is a drop-down listing all the active employees.  On teh child form is a control that the user can enter termination date.  When the date is entered, the underlying record is updated and everything works fine. However, how do I get the parent drop-down to refresh so it does not show the terminated employee?  This is an ACCESS 2003 database.

(BTA, this is a different database from two other open questions for those who are helping me with those questions)

Sandra
0
Comment
Question by:ssmith94015
2 Comments
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
ID: 37807312
place this code in the subform control afterupdate event

me.parent.comboName.requery
0
 

Author Closing Comment

by:ssmith94015
ID: 37829642
Yes, I was missing the parent part of the statement.

Sandra
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
The canonical version of this article is on my web site here: http://iconoun.com/articles/collisions/ A companion presentation is available here: http://iconoun.com/articles/collisions/Unicode_Presentation.pdf
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now