Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 23rd, 2008, 02:16 PM
Registered User
Join Date: Apr 2008
Location: Seattle, WA, USA.
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.

Reply With Quote
  #2 (permalink)  
Old April 23rd, 2008, 03:00 PM
Registered User
Join Date: Apr 2008
Location: Seattle, WA, USA.
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!
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 09:07 AM.

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