Kevin Williams
New Member
I have searched the forum for a possible answer to the below listed problem and could not find a solution that combines the action of a Accumulate command with the insertion into a table (temp or otherwise)
Basically I am needing an accumulate command that will usually display as
BY
Part, Instance, Total
aaa, 1, 45
aaa, 2, 3
aaa, 4, 224
aaa, 5, 35
I want to store the total into a table with a field based on the number.
The table structure would have an array type field structure for the total. The Accumulate BY instance would be the choice for the array slot.
Table
Part, Instance[1], Instance[2], Instance[3], Instance[4], Instance[5]
aaa, 45, 3, , 224, 35
I am new to progress programming but I will be parsing a very large table and did not want to so the summation manually whe progress is so efficient at this type of record related math.
Any experience or suggestions for alternate methods would be greatly appreciated. Otherwise I am stuck with if then else statements.
Regards,
Kevin Williams
Basically I am needing an accumulate command that will usually display as
BY
Part, Instance, Total
aaa, 1, 45
aaa, 2, 3
aaa, 4, 224
aaa, 5, 35
I want to store the total into a table with a field based on the number.
The table structure would have an array type field structure for the total. The Accumulate BY instance would be the choice for the array slot.
Table
Part, Instance[1], Instance[2], Instance[3], Instance[4], Instance[5]
aaa, 45, 3, , 224, 35
I am new to progress programming but I will be parsing a very large table and did not want to so the summation manually whe progress is so efficient at this type of record related math.
Any experience or suggestions for alternate methods would be greatly appreciated. Otherwise I am stuck with if then else statements.
Regards,
Kevin Williams