I have two tables, one Stock that holds all data on stock items. Another table, SupplierProducts holds additional data on stock items.
The reason why is that the first table is an appended sage table, and the second one is a table with additional data for stock items provided by the supplier through an Excel spreadsheet. Sage does not allow for those extra fields so they are kept in Access.
I need to combine some of the fields from the 2nd table into the stock table. They both have stock_code as an identifier.
It is messy and my append query is not working.
INSERT INTO StockTbl ( PACKER_QTY, CASE_QTY )
SELECT tblSupplierProductData.intPackerQty, tblSupplierProductData.intCaseQty
FROM StockTbl LEFT JOIN tblSupplierProductData ON StockTbl.STOCK_CODE = tblSupplierProductData.txtStockCode;
Will the solution mean I need to create a new table with all the stock data from both tables, deleting the data from the original tables?
The reason why is that the first table is an appended sage table, and the second one is a table with additional data for stock items provided by the supplier through an Excel spreadsheet. Sage does not allow for those extra fields so they are kept in Access.
I need to combine some of the fields from the 2nd table into the stock table. They both have stock_code as an identifier.
It is messy and my append query is not working.
INSERT INTO StockTbl ( PACKER_QTY, CASE_QTY )
SELECT tblSupplierProductData.intPackerQty, tblSupplierProductData.intCaseQty
FROM StockTbl LEFT JOIN tblSupplierProductData ON StockTbl.STOCK_CODE = tblSupplierProductData.txtStockCode;
Will the solution mean I need to create a new table with all the stock data from both tables, deleting the data from the original tables?