Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
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 April 23rd, 2008, 02:16 PM
Registered User
Join Date: Apr 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Subform not displaying values after adding updates

I have a form bound to a query, and in this form are embedded six subforms (on tabbed pages) which are based on child tables linked to the parent table in one-to-one OR one-to-many relationships. Each subform has another nested subform.

When I add values via the six different subforms, the child tables are all updated appropriately, with the parent table primary key included for each child table record (which is working as I want it to).

BUT, once I've completed my edits and moved on to the next record in the parent table (via an unbound combo box on the main form), and then go back to the "updated" record, the subform fields are not populated with the values that I just entered. Neither are the subform fields of the second subform.

The main form and sub-forms are linked via Master/Child links (which obviously work since the data is being added to the record in the child tables). I've also tried requery statements for each of the subforms (on both the On Current and After Update events in the main form), but nothing I try works!

Any ideas?

This is an Access 2003 mdb on Windows XP.

Old April 23rd, 2008, 03:00 PM
Registered User
Join Date: Apr 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Never mind. I just figured it out. In the properties for each subform, I had the Data Entry property set to 'Yes' (which means the the subform can only be used for data entry, not for display.)


Thanks anyway!

Similar Threads
Thread Thread Starter Forum Replies Last Post
refer to subform values stepdev Access VBA 2 December 7th, 2006 12:13 PM
Displaying recordset into subform apmanzojr Access 1 October 17th, 2006 02:08 PM
Subform not displaying data hikinfool Access 8 February 24th, 2006 06:11 PM
Adding records using form and subform marcin2k Access VBA 3 March 7th, 2005 04:37 PM
Adding new record in Access 2003 adp subform rayo Access 1 September 4th, 2004 04:41 PM

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