Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Need solution to synchronize Ms Access and SQL Server (Express Edition) database.

Need solution to synchronize Ms Access and SQL Server (Express Edition) database.

Scheduled Pinned Locked Moved ASP.NET
databasesql-serversysadmintutorialquestion
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Shah Rizal
    wrote on last edited by
    #1

    Hi guys, Any 1 got ideas about how to synchronize Ms Access and SQL Server (Express Edition) database. the scenario is I Create a database and a table containing a single text column for both MsAccess as well as SQL Express (DB and table name to be similar). By performing insert / update / delete on SQL Express (Source) and I must ensure that the data is updated accordingly on the database in Ms Access (Destination) as well. Vise versa. So did I need to create 2 connectionstrings , which 1 is OLEDB and another is SQL? As i know we can use same sql statement,just need to be cautious with reserve word for database command such as OLEDBCONNECTION and SQLCONNECTION.

    S 1 Reply Last reply
    0
    • S Shah Rizal

      Hi guys, Any 1 got ideas about how to synchronize Ms Access and SQL Server (Express Edition) database. the scenario is I Create a database and a table containing a single text column for both MsAccess as well as SQL Express (DB and table name to be similar). By performing insert / update / delete on SQL Express (Source) and I must ensure that the data is updated accordingly on the database in Ms Access (Destination) as well. Vise versa. So did I need to create 2 connectionstrings , which 1 is OLEDB and another is SQL? As i know we can use same sql statement,just need to be cautious with reserve word for database command such as OLEDBCONNECTION and SQLCONNECTION.

      S Offline
      S Offline
      Shah Rizal
      wrote on last edited by
      #2

      Ok..I successfully synchronize access and sql server. Follow this step: 1.OPen your access database. 2. Go to file>get external data>link tables 3. At Files Of Type, 'choose ODBC Databases()' 4. Click new and choose 'SQL Server'. Click advanced and enter this 'DRIVER={SQL Server} DATABASE=yoursqldatabasename'. then click ok and next. 5. Enter your own datasource name ok then finish. 6. Then create datasource window will popup. choose server that locate your sql server database.Click Next 7. You can choose windows authentication or insert sql server authentication login id 8. Change default database to targeted database. Next and finish. 9. OK until popup link tables window. Choose which table you want to synchronize. 10. try update,insert and delete. Make sure both table in access and sql server update accordingly. :cool:

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups