Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    Feb 2001
    Location
    UK
    Posts
    78
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Update using JOIN query (A97)

    I am joining 2 tables using 2 fields surname & forename in each table. I want to update table1 with the EmployeeId from table2, but I get the error "Operation must use an updateable query".

    How should I perform this simple update?

    Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Update using JOIN query (A97)

    You need to have a unique key in Table2 on the combination of surname and forename. If you can't create such a key, the combinations are not unique, and Access won't be able to determine which EmployeeID belongs to a given surname and forename.

  3. #3
    Star Lounger
    Join Date
    Feb 2001
    Location
    UK
    Posts
    78
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Update using JOIN query (A97)

    Makes sense now - thanks.

    What I will do is summarise table 2 and ignore any that have multiple entries...hopefully that will work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •