Consulting

Results 1 to 3 of 3

Thread: Vba Code to insert data from access table to mysql table

  1. #1

    Question Vba Code to insert data from access table to mysql table

    Hy, i need a vba code to insert all data from access table into mysql table.

    I tryed "DoCmd.TransferDatabase acExport" but this send the table object to mysql.

    Help please.


  2. #2
    VBAX Master CreganTur's Avatar
    Joined
    Jan 2008
    Location
    Greensboro, NC
    Posts
    1,676
    Location
    Welcome to the forum- always good to have new members.

    I would suggest using an Append querry to insert the records from your Access DB to your MySQL table.I don't work with MySQL so I don't know the specifics of the procedure, but a little google-fu will serve you well.
    -Randy Shea
    I'm a programmer, but I'm also pro-grammar!
    If your issue is resolved, please use Thread Tools to mark your thread as Solved!

    PODA (Professional Office Developers Association) | Certifiable | MOS: Access 2003


  3. #3
    VBAX Master stanl's Avatar
    Joined
    Jan 2005
    Posts
    1,141
    Location
    you will find this handy

    http://www.w3schools.com/SQL/sql_datatypes.asp

    Are you using a Provider to connect to mySQL or just the ODBC Driver?

    Stan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •