M
mike
I'm using the update query below. This query is not
working at all, and I'm stumpted as to what is wrong.
Basically what I'm trying to accomplish these 3 things:
1.) The VeneerInventory and tblBundle tables are linked
together at each other's Flitchnum field. In the
database there is one record in VeneerInventory and then
multiple records in tblBundle for that VeneerInventory
record.
2.) The Update Query should perform the calculation
specified below for each record in tblBundle and then
place the result in the VeneerInventory's InStock field.
3.) The query should only run for records where
VeneerInventory.completd = False.
CODE:
-------------------------------------------------
UPDATE VeneerInventory INNER JOIN tblBundle ON
VeneerInventory.FlitchNum = tblBundle.Flitchnum SET
VeneerInventory.InStock = [tblbundle.BundleWidth]*
[tblbundle.BundleLength]*[tblbundle.sheetcount]/144
WHERE (((VeneerInventory.completed)=False));
working at all, and I'm stumpted as to what is wrong.
Basically what I'm trying to accomplish these 3 things:
1.) The VeneerInventory and tblBundle tables are linked
together at each other's Flitchnum field. In the
database there is one record in VeneerInventory and then
multiple records in tblBundle for that VeneerInventory
record.
2.) The Update Query should perform the calculation
specified below for each record in tblBundle and then
place the result in the VeneerInventory's InStock field.
3.) The query should only run for records where
VeneerInventory.completd = False.
CODE:
-------------------------------------------------
UPDATE VeneerInventory INNER JOIN tblBundle ON
VeneerInventory.FlitchNum = tblBundle.Flitchnum SET
VeneerInventory.InStock = [tblbundle.BundleWidth]*
[tblbundle.BundleLength]*[tblbundle.sheetcount]/144
WHERE (((VeneerInventory.completed)=False));