Results 1 to 2 of 2

Thread: Update query

  1. #1
    Join Date
    Mar 2003
    Location
    Planet Earth
    Posts
    8

    Unanswered: Update query

    I am working in access.I have three tables that are linked with each other.table "C" is linking the two tables "A" & "B".
    I want that a field in table"A" is added in the field of the table"C".
    I had make a query but it temporary creates a view and update the field but didn't update in the table"C"

  2. #2
    Join Date
    Oct 2001
    Location
    Chicago
    Posts
    440
    Need a better explanation of what you are trying to accomplish.

    The query below has table A and C linked on their common Field1. It updates Table C's Field2 to the value of Table A's Field2. The update is filtered by a where clause.

    UPDATE C INNER JOIN A ON C.Field1 = A.Field1 SET C.Field2 = [A]![Field2]
    WHERE (((C.Field2)="Criteria"));


    Explain again if you need help.

    Matt

Posting Permissions

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