Need to update a field with sum of another field
Scenario: fieldnames
productid netweightpd(product netweight) netweightpal(pallet netweight) palletid
In a warehouse job system is capturing product dimensions including weight. One pallet may contain multiple product, so total weight of pallet will be sum of all the product weight.
productA productB productC in pallet1
"netweightpal" will be sum(netweightpd ABC).
How to calculate this using expression.
Tried Sum(iif([palletid]=tablename.palletid,[netweightpd],0))
TIA
Scenario: fieldnames
productid netweightpd(product netweight) netweightpal(pallet netweight) palletid
In a warehouse job system is capturing product dimensions including weight. One pallet may contain multiple product, so total weight of pallet will be sum of all the product weight.
productA productB productC in pallet1
"netweightpal" will be sum(netweightpd ABC).
How to calculate this using expression.
Tried Sum(iif([palletid]=tablename.palletid,[netweightpd],0))
TIA