Results 1 to 4 of 4
  1. #1
    mrt1069 is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2016
    Location
    Alabama
    Posts
    9

    Updating Table from Second Table Data

    Currently I have two tables: -one containing a list of items and a supplier number for said item -one containing a list of supplier numbers and a name for said number.

    I am trying to update the first table to add the supplier name to each entry where the supplier numbers from each form match up.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    The actual data should only exist in one table in an RDBMS. Cany you make a query that joins the two tables on the SupplierNumber?

  3. #3
    mrt1069 is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2016
    Location
    Alabama
    Posts
    9
    Yeah it ended up being easier than I thought.

    update tblItems
    inner join tblSupplier on tblItems.[Supplier Number] = tblSupplier.[Supplier Number]
    set items.[Supplier] = [Supplier Name]

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Queries with joins are a real powerful feature of Access. Have fun.

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

Similar Threads

  1. Replies: 2
    Last Post: 10-15-2015, 09:29 AM
  2. Replies: 2
    Last Post: 05-19-2013, 07:22 PM
  3. Replies: 6
    Last Post: 05-10-2012, 08:20 PM
  4. Updating table data while in use
    By crispy-bacon in forum Access
    Replies: 5
    Last Post: 06-03-2011, 12:49 PM
  5. Updating data within a form/table.....
    By softspoken in forum Forms
    Replies: 3
    Last Post: 04-15-2010, 06:33 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