I would code a module to request the login and password and use them in the connect string. I would also avoid using DSN connections. Use SQL OLEDB and create DSN-less connections. If you must use a DSN, open the connection without a password. The connection will fail and the ODBC driver will then display a login screen. If you want to get the best answer for your question read faq183-874.
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.