Results 1 to 2 of 2
  1. #1
    Xine is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Mar 2016
    Posts
    19

    Post Requery Subform not working

    The main form is [frm OrgSummary] and its subform is [subfrm_donation_summ] -- both are set to read-only. To add a record to the subform, I have a button that opens a popup form called [frm AddOrgDonation] while the main form stays open. Once the new information is added (and the form is saved/closed) I would like to requery the subform to show the new information.

    I believe the code would be...

    Forms![frm OrgSummary]![subfrm_donation_summ].Form.Requery

    ...and I've tried applying it to the (main) form On_Current event but I get the error message "object doesn't support this property or method".



    Is it the code? The event? Both?

  2. #2
    Micron is online now Virtually Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,813
    [subfrm_donation_summ]: is this the name of the subform or the subform control? It has to be the name of the subform control.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. requery in subform
    By putte11 in forum Forms
    Replies: 7
    Last Post: 04-22-2013, 02:43 PM
  2. Requery not working (again)
    By togo in forum Access
    Replies: 4
    Last Post: 10-16-2012, 10:23 AM
  3. cascading combo boxes, .requery not working
    By jsmath22 in forum Forms
    Replies: 8
    Last Post: 10-12-2012, 12:28 PM
  4. Replies: 3
    Last Post: 04-17-2012, 10:28 AM
  5. Replies: 5
    Last Post: 03-17-2011, 06:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums