Does anyone know if it's possible to use TransferDatabase to export data to MySQL?
If not, how would one go about it? Below is the code I tried to use, but it doesn't work.
sTable = "tblLead"
sODBC = "ODBC;Driver={MySQL ODBC 3.51 Driver};" & _
"SERVER=localhost;UID=root;PASSWORD=xxxxx;DATABASE =opc"
sODBC = "ODBC;DSN=OPC;UID=root;PWD=xxxxx;DSN=dsn1"
DoCmd.TransferDatabase acExport, "ODBC Databases", sODBC, acTable, sTable, sTable
I get the error message that ODBC Databases isn't an installed type or doesn't support the operation you chose. I'll go back to searching Google Archives, but id anyone had had good success working between Access and MySQL, I'd love to hear about the tricks.
Danny J. Lesandrini
dl*********@hotmail.com