Hi,
I have orders with unique numbers. These orders have orderlines. How can I do an update query to update all order lines in a table to autonumber all lines from 1 to n?
Background info: I have orderlines. Some have to be summed and combined to one order line. I get these plus others in a temporary table.
This means that I can have order line numbering like 1, 2, 5, 6, 8, 9
Which then should become 1, 2, 3, 4, 5, 6
This has to done for every order no.
Is there an easy way to accomplish this?
Thank you in advance,
G.I.
I have orders with unique numbers. These orders have orderlines. How can I do an update query to update all order lines in a table to autonumber all lines from 1 to n?
Background info: I have orderlines. Some have to be summed and combined to one order line. I get these plus others in a temporary table.
This means that I can have order line numbering like 1, 2, 5, 6, 8, 9
Which then should become 1, 2, 3, 4, 5, 6
This has to done for every order no.
Is there an easy way to accomplish this?
Thank you in advance,
G.I.