Private Sub t()
Dim db As DAO.Database
Set db = CurrentDb
'Insert missing records
db.Execute "insert into [Table1] select * from [Table1] As T in '" & _
Environ("userprofile") & "\pathName\Externaldb.accdb' where T.PK not in (select PK from Table1]);"
'Insert missing field values
db.Execute "update [Table1] As A, " & _
"(Select * From [Table1] In " & _
"'" & Environ("userprofile") & "\pathName\Externaldb.accdb') As B " & _
"Set A.Field1 = B.Field1, A.Field2=B.Field2 where B.PK = A.PK;"
End Sub