My problem is this:
I have an Access Project connected to an SQL Server. The user is required to login when the project is opened. Since the "allow saving password" is unchecked in the connection window (because I want users to have to login), then the CurrentProject.Connection does not have the password in it.
Later, I need to start and commit/rollback a transaction. I was simply creating a new connection, using the CurrentProject.Connection property. However, since the password is not in the connection string, it isn't working. (It all works fine when the "allow saving password" is checked.)
Is there another way to do this? So far, it looks like the user might have to type the password in twice (which seems a bit silly to me). I'm hoping that won't have to be the case!
Thanks,
Miriam
I have an Access Project connected to an SQL Server. The user is required to login when the project is opened. Since the "allow saving password" is unchecked in the connection window (because I want users to have to login), then the CurrentProject.Connection does not have the password in it.
Later, I need to start and commit/rollback a transaction. I was simply creating a new connection, using the CurrentProject.Connection property. However, since the password is not in the connection string, it isn't working. (It all works fine when the "allow saving password" is checked.)
Is there another way to do this? So far, it looks like the user might have to type the password in twice (which seems a bit silly to me). I'm hoping that won't have to be the case!
Thanks,
Miriam