Keeping UID and PWD out of an ADO connection string in an ODBC DSN-less Database and a DAO cached connection?
I have used Ben Clothier's suggestion from his Office Blog Power Tip ( http://blogs.office.com/2011/04/08/power-tip-improve-the-security-of-database-connections/ ) to create a DSN-less connection with cached credentials so that users' UID and PWD aren't saved, or required multiple times, when working in the Access interface. Have others done this? If so, what has been your approach when you need to use an ADO connection instead of DOA to reach SQL from Access via VBA? How do you open a adodb connection without having to provide the User ID and Password again, or having to put it in the code?