I need the op_qty_comp can accumulate by op_wo_nbr.
But the always show the error..
How to fix it ?
Thanks..
------------------------------------------------
define variable std_run like wr_run no-undo.
for each op_hist break by op_wo_nbr :
std_run=op_qty_comp.
accumulate std_run (total by op_wo_nbr).
display op_wo_nbr op_part op_qty_comp.
display accum total std_run by op_wo_nbr . /*Error*/
end.
But the always show the error..
How to fix it ?
Thanks..
------------------------------------------------
define variable std_run like wr_run no-undo.
for each op_hist break by op_wo_nbr :
std_run=op_qty_comp.
accumulate std_run (total by op_wo_nbr).
display op_wo_nbr op_part op_qty_comp.
display accum total std_run by op_wo_nbr . /*Error*/
end.