I've taken over a project from someone else and the code was written using DAO. I prefer to use ADO but this is a huge amount of code and converting it all would take to much time. Can I start using ADO or would the mixed environment cause issues?
It depends whether the dao objects have been prefixed with DAO. You must prefix any ado objects with Adodb. and make sure that the DAO reference is higher in the References list than ADO (so that non-prefixed objects are assumed to be DAO). However, I wouldn't care to trust this option myself and would always go for correct prefixing.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.