i am trying top create a stock take form. the form is now set up so each time an item is scanned a new record is created in the tblStockUpdate. i ow need to create an update query that updates tblItems with the correct quantities.
the relational data will be the barcode and is unique to each record in tblItems.
because each time an item is scanned a new record is created i need to count records grouped by barcode or sum as each new record has a 1 as default in the qty column.
i have created a qry that sums the records by group(Barcode) but now i need to update the tblItems quantities.
update queries have always troubled me and this one is beating me at present.
i have attached the relevant tables and hopefully get a resolution to this.
thank you
the relational data will be the barcode and is unique to each record in tblItems.
because each time an item is scanned a new record is created i need to count records grouped by barcode or sum as each new record has a 1 as default in the qty column.
i have created a qry that sums the records by group(Barcode) but now i need to update the tblItems quantities.
update queries have always troubled me and this one is beating me at present.
i have attached the relevant tables and hopefully get a resolution to this.
thank you