Results 1 to 2 of 2
  1. #1
    phineas629 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2011
    Posts
    47

    Update Query with multiple inner join

    Hi all,



    I'm trying to update a table based on inner join of 3 related tables.

    Thanks

    Code:
    UPDATE dbo_GRGrantNotes
     INNER JOIN dbo_GRConstituent_Recipient ON
    dbo_GRGrantNotes.GrantId = dbo_GRConstituent_Recipient.GrantId
     INNER JOIN (dbo_GRGrants ON dbo_GRConstituent_Recipient
    dbo_GRGrants.GrantId = dbo_GRConstituent_Recipient.GrantId)
    SET NatureOfGrant =  "FBO " & dbo_GRConstituent_Recipient.FullName 
    WHERE NatureofGrant is Null AND dbo_GRGrants.GrantType = S

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    What is the issue, what happens - error message, wrong results, nothing?

    I suspect need to put the S in quote marks.
    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.

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

Similar Threads

  1. Update in Simple Join Query
    By drunkenneo in forum Queries
    Replies: 3
    Last Post: 11-21-2013, 11:35 AM
  2. Replies: 3
    Last Post: 11-10-2012, 07:52 AM
  3. Replies: 6
    Last Post: 02-13-2011, 06:02 PM
  4. Replies: 3
    Last Post: 12-20-2010, 09:22 AM
  5. Edit Query Data with multiple JOIN
    By Bruce in forum Queries
    Replies: 7
    Last Post: 07-08-2010, 05:20 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