Connecting Ms Access Db to Mysql through Vba
问题 I have been trying to connect mysql database to ms Access but no result.I don't think personally I am using the DAo.Connection and the workspace properly. I keep on getting the 3001 connection error when I set mySqlCon . I guess my arguments are not properly set but I was following an example from here. Function connectingMySql() Dim mySqlCon As Dao.Connection Dim wrkODBC As Workspace Set wrkODBC = CreateWorkspace("newODBCWorkspace", "admin", "", dbUseODBC) Set mySqlCon = wrkODBC