Access library references are prioritized. So if the DAO lib is way down in the list with the ADO libs above it, DAO commands won't work. Old mainframe programmers who had to use JCL knows what I mean.
Also, and this is sick, sometimes you will get an error, click on "DEBUG", go into VBA, select or change the position of a reference, come out of VBA and still get the error because the reference didn't take. So you must close the VBA opened from DEBUG, reopen VBA, make the reference, close VBA and then it works.
Neil