Hi,
connect string should be like this:
MyTable.Connect = ";DATABASE=" & FileName & ";PWD=" & Password & ""

Signature
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com
>I am using the code found in Access Web to automate Relinking Tables
> http://www.mvps.org/access/tables/tbl0009.htm
[quoted text clipped - 9 lines]
>
> Thanks
Lisab - 14 Nov 2007 21:03 GMT
thanks.
I also had to add it to the Set Database statement
Set dbLink = DBEngine(0).OpenDatabase(strDBPath, False, False,
";PWD=PASSWORD")
> Hi,
> connect string should be like this:
[quoted text clipped - 14 lines]
> >
> > Thanks