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. General Programming
  3. C#
  4. mysql table to Access database

mysql table to Access database

Scheduled Pinned Locked Moved C#
databasemysqlxmlhelptutorial
4 Posts 4 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
    srscuda
    wrote on last edited by
    #1

    Please help! do I need to synchronize mysql to Access database. preferably via xml. I managed to get mysql database structure: Table name="data"> <Field name="id" type="int(11)" null="NO" key="PRI" default="" autoincrement="false"/> <Field name="data" type="varchar(255)" null="NO" key="" default="" autoincrement="false"/> <Field name="data2" type="varchar(255)" null="NO" key="" default="" autoincrement="false"/> </Table> I do not know how to write the database access.When I need to add a column in MySQL to create and access databases, without losing the original data.I also needed to synchronize data that has changed. many thanks for your help

    Richard Andrew x64R S B 3 Replies Last reply
    0
    • S srscuda

      Please help! do I need to synchronize mysql to Access database. preferably via xml. I managed to get mysql database structure: Table name="data"> <Field name="id" type="int(11)" null="NO" key="PRI" default="" autoincrement="false"/> <Field name="data" type="varchar(255)" null="NO" key="" default="" autoincrement="false"/> <Field name="data2" type="varchar(255)" null="NO" key="" default="" autoincrement="false"/> </Table> I do not know how to write the database access.When I need to add a column in MySQL to create and access databases, without losing the original data.I also needed to synchronize data that has changed. many thanks for your help

      Richard Andrew x64R Offline
      Richard Andrew x64R Offline
      Richard Andrew x64
      wrote on last edited by
      #2

      What do you mean "write the database access?"

      The difficult we do right away... ...the impossible takes slightly longer.

      1 Reply Last reply
      0
      • S srscuda

        Please help! do I need to synchronize mysql to Access database. preferably via xml. I managed to get mysql database structure: Table name="data"> <Field name="id" type="int(11)" null="NO" key="PRI" default="" autoincrement="false"/> <Field name="data" type="varchar(255)" null="NO" key="" default="" autoincrement="false"/> <Field name="data2" type="varchar(255)" null="NO" key="" default="" autoincrement="false"/> </Table> I do not know how to write the database access.When I need to add a column in MySQL to create and access databases, without losing the original data.I also needed to synchronize data that has changed. many thanks for your help

        S Offline
        S Offline
        SilimSayo
        wrote on last edited by
        #3

        MS Access does not read XML. You can create a MYSQL connection in ODBC, and you can link MS Access to any ODBC data source i.e. use linked tables. Linked tables don't store data so if you make a change in the data in Access, you would be changing data in MYSQL and vice-versa.

        1 Reply Last reply
        0
        • S srscuda

          Please help! do I need to synchronize mysql to Access database. preferably via xml. I managed to get mysql database structure: Table name="data"> <Field name="id" type="int(11)" null="NO" key="PRI" default="" autoincrement="false"/> <Field name="data" type="varchar(255)" null="NO" key="" default="" autoincrement="false"/> <Field name="data2" type="varchar(255)" null="NO" key="" default="" autoincrement="false"/> </Table> I do not know how to write the database access.When I need to add a column in MySQL to create and access databases, without losing the original data.I also needed to synchronize data that has changed. many thanks for your help

          B Offline
          B Offline
          brendanpi
          wrote on last edited by
          #4

          You could write an API as an application to sit in front of MySQL and then a macro or application to sit in front of the Access database to consume the XML, but it would be... interesting, not to mention the deadlocks you would probably get would be a nightmare to sort out.

          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