I can't get my update macro button to work. I'm trying to update every Product Model #10 but only if it is in product group AB on the Product table.
Please note the names are correctly labelled...
I have [forms]![UpdateProduct]![ProductGroup] as criteria for Product Model column in my update query and [forms]![UpdateProduct]![upSM] in "update to" field.
Please note the names are correctly labelled...
I have [forms]![UpdateProduct]![ProductGroup] as criteria for Product Model column in my update query and [forms]![UpdateProduct]![upSM] in "update to" field.
Code:
UPDATE Product SET Product.[Product Model] = [forms]![UpdateProduct]![upSM] WHERE ((Product.[Product Model]=[forms]![UpdateProduct]![comSM]) & Product.[Product Group]=[forms]![UpdateProduct]![ProductGroup]);