I have a table that contains four fields: Unit, Device, Qty, and LineNo
and I would like to add a fifth field that contains the total quantity
of Devices or Units of each specific type within that table to each record
such as total field in the example below.
In other words, There are a total of 20 Units 019933 and a total of
16 Devices 008117, hence the totals in the following example:
[pre]Unit Device Qty LineNo Total
019933 4 1 20
019933 8 5 20
019933 8 7 20
019935 2 6 6
019935 4 20 6
008117 8 1 16
008117 8 19 16
015968 2 3 6
015968 4 14 6
019838 2 15 2[/pre]
Is there an easy way to add this total to each record in this fifth field?
Thanks
and I would like to add a fifth field that contains the total quantity
of Devices or Units of each specific type within that table to each record
such as total field in the example below.
In other words, There are a total of 20 Units 019933 and a total of
16 Devices 008117, hence the totals in the following example:
[pre]Unit Device Qty LineNo Total
019933 4 1 20
019933 8 5 20
019933 8 7 20
019935 2 6 6
019935 4 20 6
008117 8 1 16
008117 8 19 16
015968 2 3 6
015968 4 14 6
019838 2 15 2[/pre]
Is there an easy way to add this total to each record in this fifth field?
Thanks