Results 1 to 2 of 2
  1. #1
    altrotx is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Feb 2013
    Posts
    2

    Update one table with data from another Table


    I have one table with 2 fields and 1700 records

    PartNum PartNotes

    Another Table with 36 fields and 8000 records the PartNum and PartNotes fields are common to both.

    I have tried every way to join the 2 tables and update the 2nd table with the data from the 1st table against the correct PartNum in table 2 using an update query.

    I'm very new to access and sql so this is a very steep learning curve for me. (Old time Paradox user)

    Cheers

  2. #2
    maximus's Avatar
    maximus is offline Expert
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2009
    Location
    India
    Posts
    931

    Update one table with data from another Table

    Quote Originally Posted by altrotx View Post
    I have one table with 2 fields and 1700 records

    PartNum PartNotes

    Another Table with 36 fields and 8000 records the PartNum and PartNotes fields are common to both.

    I have tried every way to join the 2 tables and update the 2nd table with the data from the 1st table against the correct PartNum in table 2 using an update query.

    I'm very new to access and sql so this is a very steep learning curve for me. (Old time Paradox user)

    Cheers
    I will try to demonstrate with a simple set here:

    I have two tables Table4 with Fields:
    1) xxy (Number Primary Key)
    2) yyx (Text)

    Table5:
    1) xxy (Number Primary Key)
    2) yyx (Text)
    3) ABC (Text)

    My goal here is to update Table5 Field yyx where Feild xxy are same in both the tables. The SQL will be as below:

    UPDATE Table4 INNER JOIN Table5 ON Table4.xxy = Table5.xxy SET Table5.yyx = [Table4].[yyx];

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

Similar Threads

  1. Update data in a table via a form
    By SeanA in forum Forms
    Replies: 17
    Last Post: 01-24-2013, 01:43 PM
  2. Replies: 3
    Last Post: 09-16-2012, 10:20 AM
  3. Replies: 0
    Last Post: 05-21-2012, 11:54 PM
  4. Replies: 6
    Last Post: 05-10-2012, 08:20 PM
  5. Replies: 1
    Last Post: 02-08-2012, 04:50 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