Wrox Programmer Forums
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 18th, 2005, 05:55 PM
Friend of Wrox
Join Date: Oct 2004
Posts: 564
Thanks: 0
Thanked 4 Times in 4 Posts
Default Refresh Parent Subform

Hopefully someone has experienced something like this before.

Form1 contains events has a subform which contains all employees linked to the event. A combobox lets the user pick from all employees and add them to the subform - The subform is refreshed and the name appears.

If the user needs to add a new Employee, he clicks a button which opens the Employee entry form. When closed, the app adds the Employee to the tabel to which the subform is linked. However I cannot get the form to refresh. The employee is on the subform, because if I add an existing employee, both then show up, and if I close the Form and reopen it, the employee appears. I have tried refreshing, requerying, repaint and even closing and opening the Events form programatically - I just can't get the subform to refresh. Anyone have any ideas?



Old October 18th, 2005, 09:59 PM
Friend of Wrox
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post


Try refreshing the parent form

then refresh the subform:




Similar Threads
Thread Thread Starter Forum Replies Last Post
Pop-Up Close / Refresh Parent cmiller HTML Code Clinic 7 October 6th, 2011 05:43 AM
Parent Page Refresh crmProg Visual Studio 2005 1 February 9th, 2007 09:56 AM
Parent Page Refresh crmProg ASP.NET 2.0 Professional 0 January 15th, 2007 10:58 PM
Unnecessary refresh of parent window swati_joshi ASP.NET 1.0 and 1.1 Professional 7 September 19th, 2006 08:13 AM
How to refresh parent page amolpayal Javascript How-To 1 August 2nd, 2006 05:03 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.