Below is actual sample data.......the end goal is to take data from array aBoxTrkA and populate aBoxTrkD with only the multiple occurrences. The red highlight in aBoxTrkA is the only record that would NOT be written to aBoxTrkD because it occurs just once. I will add the code shortly....and a Visual Studio Debug....
Thanks again,
FrankCLT
aBoxTrkA
0 085085000303985330 1Z8R9A510346043690
1 085085000303985330 1Z8R9A510347631301
2 085085000303985330 1Z8R9A510347814159
3 085085000303985330 1Z8R9A510347957540
4 085085000303985507 1Z8R9A510346913571
5 085085000303985507 1Z8R9A510347894671
6 085085000303985521 1Z8R9A510346303480
7 085085000303985521 1Z8R9A510347934163
8 085085000303985620 1Z8R9A510346043690
9 085085000303985637 1Z8R9A510346408331
10 085085000303985637 1Z8R9A510348212726
11 085085000303985729 1Z8R9A510347053436
12 085085000303985729 1Z8R9A510347622311
aBoxTrkD
0 085085000303985330 1Z8R9A510346043690
1 085085000303985330 1Z8R9A510347631301
2 085085000303985330 1Z8R9A510347814159
3 085085000303985330 1Z8R9A510347957540
4 085085000303985507 1Z8R9A510346913571
5 085085000303985507 1Z8R9A510347894671
6 085085000303985521 1Z8R9A510346303480
7 085085000303985521 1Z8R9A510347934163
8 085085000303985637 1Z8R9A510346408331
9 085085000303985637 1Z8R9A510348212726
10 085085000303985729 1Z8R9A510347053436
11 085085000303985729 1Z8R9A510347622311