S
sk
I'm using Dev Ashish's code to relink tables and it works great on a
non-protected db. The issue I am having is that when I add a Password to the
BE, I can't get it to work. Where do I need to put the password in Dev's
code to get it to relink? I'm thinking it needs to be in the connection and
in the table link but I can't get it to work.
I added the password to the following code:
.Connect = ";Database=" & strDBPath & ";PWD=xxx10"
but it is breaking on this which is before the code above
Set dbLink = DBEngine(0).OpenDatabase(strDBPath)
I tried adding the password in the options for the .OpenDatabase but it did
not like the format.
Any help is appreciatied.
non-protected db. The issue I am having is that when I add a Password to the
BE, I can't get it to work. Where do I need to put the password in Dev's
code to get it to relink? I'm thinking it needs to be in the connection and
in the table link but I can't get it to work.
I added the password to the following code:
.Connect = ";Database=" & strDBPath & ";PWD=xxx10"
but it is breaking on this which is before the code above
Set dbLink = DBEngine(0).OpenDatabase(strDBPath)
I tried adding the password in the options for the .OpenDatabase but it did
not like the format.
Any help is appreciatied.