Hi,
I have a list of order ids in a table, there may be more than one of the same order ids, i want to set a variable equal to the order_id plus a sequence so basically if I have a list of order id in a table as follows
1234
1234
1234
9876
9876
6789
I want to set another field in the table equal to the following:
12341
12342
12343
98761
98762
67891
and so on.
I have tried setting up for loops but am getting a bit confused and was hoping someone might be able to help!!
Thanks
Jimmy
I have a list of order ids in a table, there may be more than one of the same order ids, i want to set a variable equal to the order_id plus a sequence so basically if I have a list of order id in a table as follows
1234
1234
1234
9876
9876
6789
I want to set another field in the table equal to the following:
12341
12342
12343
98761
98762
67891
and so on.
I have tried setting up for loops but am getting a bit confused and was hoping someone might be able to help!!
Thanks
Jimmy