J
JIM.H.
Hello,
I have a table with two fields: "id, qty". qty can be
negative, I need to sum all qty for each id, if result is
positive, let us say 3, I need to create three rows: "id,
1" in the table to show that id appears three time. If
result is negative or zero I should not add any row. How
can I do that?
Jim.
I have a table with two fields: "id, qty". qty can be
negative, I need to sum all qty for each id, if result is
positive, let us say 3, I need to create three rows: "id,
1" in the table to show that id appears three time. If
result is negative or zero I should not add any row. How
can I do that?
Jim.