Results 1 to 3 of 3
  1. #1
    Chatholo is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    34

    Update query Help!

    I have created a DB but need to update my data (Headcount) with a third party file.

    As per the design of my query, I am trying to get the [Budget] table Headcount field updated with the headcount from the [august allocation] table, according to matching fields ProductID/Market/Pillar/Function.

    Attached is a dummy database with my update query.


    Thanks for your help!
    C.
    Attached Thumbnails Attached Thumbnails UpdateQuery.PNG  
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Is this what you want:

    UPDATE AugustAllocation INNER JOIN Budget ON (AugustAllocation.Function = Budget.Function) AND (AugustAllocation.Pillar = Budget.Pillar) AND (AugustAllocation.Market = Budget.Market) AND (AugustAllocation.ProductID = Budget.ProductID) SET Budget.[salary heads] = [AugustAllocation].[2014 Headcount];
    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.

  3. #3
    Chatholo is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    34
    Works like a dream! Thanks one more time June7!
    Any chance you could look at my post named "Combo box not populating table"

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

Similar Threads

  1. Replies: 7
    Last Post: 08-26-2013, 06:05 AM
  2. Replies: 1
    Last Post: 05-17-2013, 12:53 PM
  3. Replies: 2
    Last Post: 08-30-2012, 07:59 AM
  4. Replies: 4
    Last Post: 11-10-2011, 03:41 PM
  5. Replies: 1
    Last Post: 08-19-2011, 12:16 PM

Tags for this Thread

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