Results 1 to 4 of 4
  1. #1
    jwells07 is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Aug 2018
    Posts
    8

    Linked Databases/ Tables


    I've been using Access with a remote SQL Server for quite a while and sometimes the client loses internet connection which is an issue. I've been trying to understand linked tables and have linked some local tables to the SQL Server and it seems to work fine as long as I have an internet connection which doesn't make it very useful for me. I would like to be able to continue working on a record even after the internet connection is lost using the local table and then refresh the remote table when eventually the internet connection is remade. Is there a way to configure this? If not, is there another method?

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,933
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    you would need code to relink to the local db, enter your data, then when you are reconnected to the server, run update/append queries to update the server from your local tbls.

    My db had 3 tables for each tbl:
    tCustomers (the table in use)
    tCustomers-Sql
    tCustomers-Lcl

    user would open a form and select LOCAL or SQL then THAT table would replace the working name. (the one without the dash)
    for LOCAL selection it would run thru the list and :
    copy tCustomers-Lcl to tCustomers

    for every table. Then all entries are now entered local tables only.

    When back connected, running the SQL option would
    FIRST ask user to run updates,
    run the updates,
    then copy Sql tbls to main name.

  4. #4
    jwells07 is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Aug 2018
    Posts
    8
    Thanks for the reply. Before I started trying to write a lot of code and trying to make it transparent for my employees I was hoping there was something a little more built in that you could just specify to write to the local table and then a remote connection would trigger updates to the changed the remote records. Wishful thinking.

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

Similar Threads

  1. Editing Linked Databases via Query
    By zkrucz in forum Access
    Replies: 11
    Last Post: 06-15-2020, 12:27 PM
  2. Replies: 2
    Last Post: 10-16-2015, 03:14 PM
  3. linked databases query
    By vicsaccess in forum Queries
    Replies: 5
    Last Post: 10-09-2015, 03:01 PM
  4. Replies: 14
    Last Post: 05-20-2013, 06:02 PM
  5. Replies: 5
    Last Post: 02-02-2012, 06:42 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