George_Martin_3
New Member
- Joined
- Sep 12, 2015
- Messages
- 20
Name|Address|Item1|qty|item2|qty|
:--|:--|:--|:--|:--|:--|
Dan|456 Cold|Apple|2|Donkey|4|
Steve|123 Ripple|Dove|3|||
Nate|985 Tara|Monkey|1|Fish|2|
Hi all,
With my sample data above (imagine there's actually more columns like contact phone, state, zip, email yada yada yada) I need a procedure to copy/destination a unique row each item. A looping if to create a flat file so it looks like this below.
Any hints appreciated.
Name|Address|Item|Qty|
:--|:--|:--|:--|
Dan|456 Cold|Apple|2|
Dan|456 Cold|Donkey|4|
Steve|123 Ripple|Dove|3|
Nate|985 Tara|Monkey|1|
Nate|985 Tara|Fish|2|
||||
:--|:--|:--|:--|:--|:--|
Dan|456 Cold|Apple|2|Donkey|4|
Steve|123 Ripple|Dove|3|||
Nate|985 Tara|Monkey|1|Fish|2|
Hi all,
With my sample data above (imagine there's actually more columns like contact phone, state, zip, email yada yada yada) I need a procedure to copy/destination a unique row each item. A looping if to create a flat file so it looks like this below.
Any hints appreciated.
Name|Address|Item|Qty|
:--|:--|:--|:--|
Dan|456 Cold|Apple|2|
Dan|456 Cold|Donkey|4|
Steve|123 Ripple|Dove|3|
Nate|985 Tara|Monkey|1|
Nate|985 Tara|Fish|2|
||||