I'm attempting to update two fields in one table, with values from two fields in a second table, without a primary key to link the two tables.
The second table doesn't have a primary key because it's created via a Transfersheet method just to Import data into it from Excel.
Here's my code so far (currently this code doesn't do anything):
 SQL = "MERGE TableA AS Target" & _
      " USING TableB AS Source" & _
      " ON " & _
      "(Target.Field1=Source.Field1,Target.Field2=Source.Field2)" & _
      " WHEN NOT MATCHED BY Target" & _
      " THEN UPDATE (Field1,Field2)" & _
      " VALUES (Source.Field1,Source.Field2)"
 
     
    