Hi guys:
I am so impressed with your response to my "sequencing..and resequencing" thread that here is another; which I have solved but it looks messy.
I have a table comprising batches (yes, that table!) and sales orders and quantities of product in that order (it's glass, if you are interested).
What I need to do is find in each record where the quantity is greater than one and duplicate that record for the number of times that equals the quantity; so if qty = 5, duplicate 4 times(plus the first = 5)
The resulting table is then sequenced as you have so generously shown; and finally print out a label for each unit of glass!
Thanks!!
I am so impressed with your response to my "sequencing..and resequencing" thread that here is another; which I have solved but it looks messy.
I have a table comprising batches (yes, that table!) and sales orders and quantities of product in that order (it's glass, if you are interested).
What I need to do is find in each record where the quantity is greater than one and duplicate that record for the number of times that equals the quantity; so if qty = 5, duplicate 4 times(plus the first = 5)
The resulting table is then sequenced as you have so generously shown; and finally print out a label for each unit of glass!
Thanks!!