That's a fair bit of code now isn't it?
Maybe something like:
Code:
DoCmd.TransferDatabase acLink, "ODBC Database", _
"ODBC;DSN=DataSource1;UID=User2;PWD=www;LANGUAGE=us_english;" _
& "DATABASE=pubs", acTable, "Authors", "dboAuthors"
would suffice
I am a loud man with a very large hat. This means I am in charge