CarlSeil
New member
- Local time
 - Today, 08:04
 
- Joined
 - Nov 30, 2020
 
- Messages
 - 14
 
Using Access 365.  Created new accdb file. Have old code that I need to re-use that uses DAO.  When I attempt to run it, it tells me "User-defined type not defined."  Aha, this usually happens when I am missing references.  Of course, I open up the references and since it's a new accdb file, it's pretty bare bones.  And a reference to DAO is not checked.  I attempt to add DAO "Microsoft DAO 3.6 Object Library" and it says "Error in loading DLL."  
Do I need to click on "Browse" and find the correct DLL on my own or do I need to just register it somehow then it will find it?
My old mdb file I am grabbing this code from works fine. I'd rather not reconfigure this for ADO because I'm really not that great with either.
 Do I need to click on "Browse" and find the correct DLL on my own or do I need to just register it somehow then it will find it?
My old mdb file I am grabbing this code from works fine. I'd rather not reconfigure this for ADO because I'm really not that great with either.