A family of Microsoft relational database management systems designed for ease of use.
So from what I gather, as I am not a major programmer...but should be able to implement this code if needed.
This code will basically just allow me to re-link the multiple tables in a single database when I first pen the database and run the code from above....Correct?
That's correct. The idea is that if the server side password has changed, you run this procedure with the new password within the connection string.
But let me ask my questions a bit differently for what I am really needing....the code above is a nice bandaid solution if needed but not really where we are needing to go for this implementation. Here is a couple of questions regarding what I would like.
1) Now is there a way to have the ODBC database source NOT prompt for a password if I set these tables up without a password that way everyone could run it once I have already pulled the linked table over once? (basically not save password in the checkbox then when ran it would not always prompt for a password)
I'm not sure if I understand well. If the connection requires a password, the server will ask for it. There is no way round.Whatever way you try to connect, e. g. through ODBC from Access, you have to follow these rules.
2) Implement a way to store multiple user ID and passwords that would update when the 90 day password expired. I am really wanting everyone to maintain their own passwords for the ODBC and wanting Access to grant them full access to the Access database .mdb (maybe it prompts for a password the first time they run it after a password change, but then never again until 90 days later when the password expires again)?
hopefully something is possible.
Well, here you could build an environment around, based on my short sample. Once you know that the password has changed you can let the user enter the new password in a form, and replace the password parameter in my sample with the one entered. The rest will work. Example:
strConnect = "ODBC;" & _
"Driver={SQL Server};" & _
"Server=YourServerOrIP;" & _
"Database=YourDB;" & _
"UID=User;" & _
"Pwd=" & Me!fldNewPassword.Value & ";"
The rest will work.
--
HTH - Peter