cdiwindows
MIS
I need to duplicate the number of rows based on the number in one of the cells in a row. We have a contest that if they sell so many items, they get an entry in a drawing. I want to create a row for each possible entry. How can I loop through the rows on the left to create the rows on the right?
EmpID Entries EmpID Entries
103 4 103 4
109 5 103 4
111 4 103 4
112 1 103 4
122 2 109 5
124 4 109 5
109 5
109 5
109 5
111 4
111 4
111 4
111 4
112 1
122 2
122 2
EmpID Entries EmpID Entries
103 4 103 4
109 5 103 4
111 4 103 4
112 1 103 4
122 2 109 5
124 4 109 5
109 5
109 5
109 5
111 4
111 4
111 4
111 4
112 1
122 2
122 2