Hello all, I have 2 tables I want to join. I want to merge them on 2 fields:
tblHVAC.[Site ID] = tblHVACaddidata.[Site ID]
tblHVAC.Item = tblHVACaddidata.Item
Below is my SQL code:
INSERT INTO tblHVAC
SELECT tblHVACaddidata.*
FROM tblHVAC LEFT JOIN tblHVACaddidata ON (tblHVAC.[Item] = tblHVACaddidata.[Item]) AND (tblHVAC.[Site ID] = tblHVACaddidata.[Site ID]);
And I get this error:
The INSERT INTO statement contains the following unknown field name: 'District'. Make sure you have typed the name correctly, and try the operation again.
Now, my SQL statement doesn't say anything about the field name 'Distric' so I can't figure out why I am getting this error.
Please help!!
Thanks in advance!
tblHVAC.[Site ID] = tblHVACaddidata.[Site ID]
tblHVAC.Item = tblHVACaddidata.Item
Below is my SQL code:
INSERT INTO tblHVAC
SELECT tblHVACaddidata.*
FROM tblHVAC LEFT JOIN tblHVACaddidata ON (tblHVAC.[Item] = tblHVACaddidata.[Item]) AND (tblHVAC.[Site ID] = tblHVACaddidata.[Site ID]);
And I get this error:
The INSERT INTO statement contains the following unknown field name: 'District'. Make sure you have typed the name correctly, and try the operation again.
Now, my SQL statement doesn't say anything about the field name 'Distric' so I can't figure out why I am getting this error.
Please help!!
Thanks in advance!