Results 1 to 2 of 2
  1. #1
    Matze0710 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2015
    Posts
    5

    Compare two tables and update on table

    Hello guys,



    I have two tables in access. One normal table and one linked list in SharePoint. the changes in the normal should be compared to the other list and then update the linked list in sharepoint.

    Which query can I use to fulfill this? How can I compare values in access?

    Best regards

    Matthias

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    There is a unique identifier common to these two datasets that can be used to link the records? You want to update every field? Maybe like:

    UPDATE SharePointTable SET SharePointTable.Field1=AccessTable.Field1 WHERE SharePointTable.ID=AccessTable.ID

    Then if you want to add new records, build a Find Unmatched query and use it as source for an INSERT sql.

    But I have never used SharePoint. No idea if linked lists can be edited with an UPDATE or INSERT action.

    Bing: Access update SharePoint list
    https://social.msdn.microsoft.com/Fo...orum=accessdev
    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. Replies: 1
    Last Post: 11-23-2014, 02:20 PM
  2. Replies: 23
    Last Post: 07-29-2013, 06:47 PM
  3. Replies: 12
    Last Post: 04-25-2013, 01:32 PM
  4. Replies: 4
    Last Post: 11-21-2012, 03:17 PM
  5. How to Compare, Flag, Update two tables?
    By Plan B in forum Queries
    Replies: 3
    Last Post: 04-23-2012, 02:24 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