I've got two tables, the first column match on both tables and I need to UPDATE TableA with all the data from TableB, ONLY where TableA.Column1 and TableB.Column1 match. I'm having a really hard time wrapping my head around how to get this to work... TableA has about 80+ columns and TableB has around 100+. I'm attempting this in Microsoft Access.
TableA
+---------+---------+---------+---------+---------+---------+
| Column1 | Column2 | Column3 | Column4 | ....... | ColumnX |
+---------+---------+---------+---------+---------+---------+
| 1 | DataA | | DataA | ....... | |
+---------+---------+---------+---------+---------+---------+
| 2 | DataA | | DataA | ....... | |
+---------+---------+---------+---------+---------+---------+
| 3 | DataA | | DataA | ....... | |
+---------+---------+---------+---------+---------+---------+
| 4 | DataA | | DataA | ....... | |
+---------+---------+---------+---------+---------+---------+
| ....... | ....... | ....... | ....... | ....... | ....... |
+---------+---------+---------+---------+---------+---------+
| X | DataA | | DataA | ....... | |
+---------+---------+---------+---------+---------+---------+
TableB
+---------+---------+---------+---------+---------+---------+
| Column1 | Column2 | Column3 | Column4 | ....... | ColumnX |
+---------+---------+---------+---------+---------+---------+
| 1 | | DataB | | ....... | DataB |
+---------+---------+---------+---------+---------+---------+
| 2 | | DataB | | ....... | DataB |
+---------+---------+---------+---------+---------+---------+
| 3 | | DataB | | ....... | DataB |
+---------+---------+---------+---------+---------+---------+
| 4 | | DataB | | ....... | DataB |
+---------+---------+---------+---------+---------+---------+
| ....... | ....... | ....... | ....... | ....... | ....... |
+---------+---------+---------+---------+---------+---------+
| X | | DataB | | ....... | DataB |
+---------+---------+---------+---------+---------+---------+
End Result of TableA
+---------+---------+---------+---------+---------+---------+
| Column1 | Column2 | Column3 | Column4 | ....... | ColumnX |
+---------+---------+---------+---------+---------+---------+
| 1 | DataA | DataB | DataA | ....... | DataB |
+---------+---------+---------+---------+---------+---------+
| 2 | DataA | DataB | DataA | ....... | DataB |
+---------+---------+---------+---------+---------+---------+
| 3 | DataA | DataB | DataA | ....... | DataB |
+---------+---------+---------+---------+---------+---------+
| 4 | DataA | DataB | DataA | ....... | DataB |
+---------+---------+---------+---------+---------+---------+
| ....... | ....... | ....... | ....... | ....... | ....... |
+---------+---------+---------+---------+---------+---------+
| X | DataA | DataB | DataA | ....... | DataB |
+---------+---------+---------+---------+---------+---------+
What I've Tried so far...
UNION which I quickly gave up on... It seems as that was only giving me a query, where as I need to actually UPDATE TableA with ALL the data from TableB
And also...
UPDATE TableA ([Column1],[Column2],[Column3],[Column4], ....... [ColumnX])
SELECT [Column1],[Column2],[Column3],[Column4], ....... [ColumnX]
FROM TableB
WHERE (TableA.Column1 = TableB.Column2)
EDIT 1:
Tried this...
Run-time error '3144': Syntax error in UPDATE statement
SQL = " UPDATE tbleVendorData AS A " & _
" JOIN tbleOLD AS B " & _
" ON A.[Column1] = B.[Column1] " & _
" SET A.[Column14] = CONCAT(A.[Column14], B.[Column5])"
EDIT 2:

SET A.[Column14] = CONCAT(A.[Column14], B.[Column5])toSET A.[Column14] = (A.[Column14] + B.[Column5])and I'm still getting the same Syntax error - Maldred