Solved

Parent drop-down refresh after change on child form

Posted on 2012-04-04
2
369 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 120

Accepted Solution

by:
Rey Obrero (Capricorn1) 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

777 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