Results 1 to 2 of 2
  1. #1
    cgrinage is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Aug 2012
    Posts
    1

    updating subform


    I have a form with three subforms (Request, Employee Availability, and Employee Assign) in the image below. The user enters the ID in the Assign form (#4) which relates to the request at the top. When the user moves to the next record I want the value of the "Assigned" field at the top to be updated to "yes" for the record with the same ID as enter below. In the end the following item with disappear when you return to the record: ID #4, Employee ID 109187, and Request ID 2 from the below form.

    My problem is I not sure how to get the Request form to update after the user moves to the next record. Any help would be appreciated. Thanks!


    Click image for larger version. 

Name:	request.jpg 
Views:	9 
Size:	79.0 KB 
ID:	8885

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Possibly run an UPDATE sql action and requery the Request subform.

    Personally, I would not save the Yes/No value to table but determine this status by query joining tables and an expression in textbox.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 5
    Last Post: 12-26-2011, 07:52 AM
  2. Updating Default Value of a Subform Control
    By eww in forum Programming
    Replies: 4
    Last Post: 04-11-2011, 12:57 PM
  3. Subform in Switchboard not updating
    By TrudyD1474 in forum Forms
    Replies: 2
    Last Post: 06-29-2010, 07:50 AM
  4. Updating subform based on combo box change
    By kev921hs in forum Forms
    Replies: 3
    Last Post: 04-01-2010, 08:43 AM
  5. Replies: 1
    Last Post: 11-14-2006, 02:32 PM

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