Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Synchronize  MS SQL linked table and a local table

Posted on 2009-07-15
3
432 Views
Last Modified: 2013-11-28
I have a several tables linked to a MS SQL Server. How do I synchronize a MS SQL linked table and a local table?  I want to do this so when I am not going the have an internet connect I will still be able to view the data. I will not be editing or entering data into the local table.
0
Comment
Question by:seanlhall
  • 2
3 Comments
 
LVL 39

Accepted Solution

by:
thenelson earned 500 total points
ID: 24864495
Take a look at replication. This is what it is designed for.

References on replication:
Replication white papers
http://Support.Microsoft.Com/kb/190766/en-us

q&a: Replication in microsoft access
http://Msdn.Microsoft.Com/archive/default.Asp?Url=/archive/en-us/dnaraccessdev/html/odc_replicationinaccess95.Asp

about choosing a tool for replication
http://Office.Microsoft.Com/en-us/assistance/hp052167661033.Aspx

a list of vba commands for replication:
Http://Office.Microsoft.Com/en-us/assistance/hp030698321033.Aspx

how to make a database replicable
http://Support.Microsoft.Com/kb/208774/en-us

troubleshooting common replication errors
http://Support.Microsoft.Com/kb/304026/en-us

replication faq
http://Support.Microsoft.Com/kb/282977/en-us

also, have a look at the "tsi synchronizer":
Http://Www.Trigeminal.Com/replication/synch.Asp?1033

Using the synchronize method:
Database.Synchronize pathname, exchange

the synchronize method syntax has the following parts.

Database an object variable that represents a database object that is a replica.

Pathname a string that contains the path to the target replica with which database will be synchronized. The .Mdb file name extension is optional.

Exchange optional. A constant indicating which direction to synchronize changes between the two databases, as specified in settings.  

Example:

Sub sendchangetoreplicax()

   dim dbs as database

   ' opens the replicable database
   set dbs = opendatabase("yourdatabase.Mdb")

   ' sends data or structural changes to the replica.
   Dbs.Synchronize "yourreplica.Mdb", _
      dbrepexportchanges

   dbs.Close

end sub
0
 

Author Closing Comment

by:seanlhall
ID: 31603919
This answer lead me to the make table query which what I was looking for. Thanks.
0
 
LVL 39

Expert Comment

by:thenelson
ID: 24872270
You're welcome.  Glad to help.

Happy Computing!

Nelson
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question