Results 1 to 4 of 4
  1. #1
    access1 is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    2

    Update Column

    Hello-



    How can I add 'Graphic Design' from TableB to all empty TableA fields associated with Manager Name Lewis and Region US?

    Example:

    TableA
    Manager Name
    Budget
    Region
    Unit
    Lewis 500 US
    Lewis 1000 EU






    TableB
    Manager Name
    Region
    Unit
    Lewis US Graphic Design





    Thank you very much!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,641
    Run an UPDATE query. Use the query designer to help build. Access Help has guidelines for updating a table with data from another table. Or Google the topic. This is basic Access functionality.
    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
    access1 is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    2
    Thanks for the reply June7. I have tried from Microsoft help and google the topic but still is not clear. Quite a newbie in Access.
    Please let me know if someone knows the answer out there.

    Thank you.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    Your table structures are questionable. You should review this article
    http://forums.aspfree.com/attachment...2&d=1201055452

    In relational database you would not normally have the tables you have described. Fields ( Manager, Region , Unit) are repeated in different tables. Manager Lewis has 2 records with different values. If these records are meant to show English and French (US/EU), then you should identify a language field.

    You may wish to review the definition and importance of Primary key and the uniqueness of records in tables..
    http://databases.about.com/cs/admini...primarykey.htm

    What do TableA and tableB represent to you?

    You may have tables such as tblRegions, tblUnits, tblManagers, tblBudgets

    As June7 said - in very general terms - you would use an UPDATE query to update fields in a table from another table.
    see http://www.techonthenet.com/sql/update.php

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

Similar Threads

  1. Replies: 3
    Last Post: 09-13-2012, 11:14 AM
  2. Replies: 11
    Last Post: 08-10-2012, 10:25 PM
  3. Want to update a column A if column B = column C
    By AudiA4_20T in forum Queries
    Replies: 5
    Last Post: 08-08-2012, 02:42 PM
  4. Update Column from Multi-select listbox
    By jhargram in forum Forms
    Replies: 4
    Last Post: 02-27-2012, 12:03 PM
  5. Replies: 2
    Last Post: 03-03-2010, 07:37 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