Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Parent drop-down refresh after change on child form

Posted on 2012-04-04
2
Medium Priority
?
392 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 2000 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

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

916 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