Results 1 to 2 of 2
  1. #1
    oiliboi is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Jan 2017
    Posts
    8

    Question Syncing my Access files with other computer?

    I have access files on my computer. I need to add these files to another computer but I need them to sync with each other (so for example, edits from one computer are visible in the other).


    How can I do this?

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,424
    This is one of those things you should have designed in before getting to this position.

    you need to use a series of unmatched/update/insert queries to sync each table. If both users are adding data to the same tables, you will need to find a way of resolving the fact that both users will have created records with the same primary key. Moving forward, change autonumbers from increment to random, but doing this on existing data may mess up your relationships.

    T1 is table in one users db, T2 the other. In outline

    1. T1 left join to T2 on PK where T2 PK is null will identify records in T1 that are not in T2
    2. T2 left join to T1 on PK where T1 PK is null will identify records in T2 that are not in T1
    3. T1 inner join to T2 on PK where each field is compared for difference - if different you need a rule to decide which is the right one, then update the 'wrong table'. for example perhaps your tables have timestamp fields and you choose the one with the latest timestamp.
    4. You may also need to decide what to do about records that have been deleted in one of the db's - it will be repopulated with query1 or 2 above. Usual practice is to have a 'deleted' field in the table which can be used to filter those records out in criteria.

    Why haven't you just split the database so both users can share the back end?

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

Similar Threads

  1. Access Syncing on table
    By AccessThomas in forum Access
    Replies: 3
    Last Post: 05-08-2015, 08:47 AM
  2. Replies: 4
    Last Post: 11-29-2012, 12:45 AM
  3. Replies: 1
    Last Post: 02-21-2011, 09:55 PM
  4. Replies: 3
    Last Post: 01-05-2010, 10:07 PM
  5. Syncing Quickbooks and Access
    By nomij in forum Import/Export Data
    Replies: 0
    Last Post: 08-22-2008, 07:01 AM

Tags for this Thread

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