
Signature
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com
Alex,
Thanks for the reply, but could you explain where I would do this?
The linking part of my code looks like this:
Do Until rstTbl.EOF
.strFName = "Linking " & rstTbl("Linked_Table_Name"): .Repaint
' Remove the current link.
DoCmd.DeleteObject acTable, rstTbl("Linked_Table_Name")
' Create the link to the Correct db.
DoCmd.TransferDatabase acLink, "Microsoft Access", strPath_Name,
acTable, rstTbl("Linked_Table_Name"), rstTbl("Linked_Table_Name")
rstTbl.MoveNext
Loop
Cheers,
Steve.
> You can modify Connect property to supply a password if required:
>
[quoted text clipped - 17 lines]
> > Cheers,
> > Steve.
Alex Dybenko - 10 Jan 2005 15:07 GMT
Hi,
i think in this case you have to modify your code and instead of
TransferDatabase create links by creating new tabledef, like in this sample:
http://www.mvps.org/access/tables/tbl0009.htm

Signature
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com
> Alex,
>
[quoted text clipped - 44 lines]
>> > Cheers,
>> > Steve.