Freshman
Registered User.
- Local time
- Today, 15:14
- Joined
- May 21, 2010
- Messages
- 437
Hi all,
I've been starting to move my tables over to MySQL and everything is working fine so far. The only question I have is around the steps I follow:
1. I installed the MySQL ODBC drives
2. Then I use the above ODBC to create the connection the the MySQL db
3. Then from within Access I link to the tables in VBA
My question is if I could skip steps 1 and 2 or at least step 2 by doing it in VBA?
As I said I have no problem connecting to the tables but I want to know if I can also create the link to the MySQL database if I provide the Server name etc in my code.
I had a look at DNS-less connections but I can't seem to get my head around creating the link to the MySQL database. None of the sample code seems to do much for me. Or maybe I'm missing a step.
Regards
I've been starting to move my tables over to MySQL and everything is working fine so far. The only question I have is around the steps I follow:
1. I installed the MySQL ODBC drives
2. Then I use the above ODBC to create the connection the the MySQL db
3. Then from within Access I link to the tables in VBA
My question is if I could skip steps 1 and 2 or at least step 2 by doing it in VBA?
As I said I have no problem connecting to the tables but I want to know if I can also create the link to the MySQL database if I provide the Server name etc in my code.
I had a look at DNS-less connections but I can't seem to get my head around creating the link to the MySQL database. None of the sample code seems to do much for me. Or maybe I'm missing a step.
Regards