I only took a class on VB because I had to for school I don't recall all to much of it.. But I have a job now doing database administration. And I have to sort part numbers that are duplicated several times.. (I.E.)
=============== =============== ==========
49-10049
49-10049
49-10049
49-10049
49-10051
49-10051
49-10051
=============== =============== ==========
And this can be up to 200 lines... My question for anyone who could help me. I was thinking couldn’t I make a program in VB when I would load a TEXT full of these part numbers that are duplicated and then hit something like "SORT TO SINGLE" and it will take that list and make it into
=============== =============== ==========
49-10049
49-10051
=============== =============== ==========
This way I dont have to delete the part numbers out one by one like I have been doing.. This is a head ache... and would be grate if I can get a simple APPLICATION that can do this... Could any of you help me out please? Any or maybe code that for me?? WOULD BE A HUGE HELP!!! and save me a lot of time at work! Or maybe someone knows a program already like this????
So basic operation of the APPLICATION would be.
Open a text file in the APP that has duplicated part numbers in a format of
10-00000
Then take all duplicates out and only leave one of each part number....
So the out put would be the 2nd list of part numbers below. And the input would have been let’s say
10-00000
10-00000
10-00000 Program would take out those 2 and leave one. Is this possible?
10-00000
10-00001
10-00002
Does this make sense please let me know THANK YOU!! In advanced!
-Chris
=============== =============== ==========
49-10049
49-10049
49-10049
49-10049
49-10051
49-10051
49-10051
=============== =============== ==========
And this can be up to 200 lines... My question for anyone who could help me. I was thinking couldn’t I make a program in VB when I would load a TEXT full of these part numbers that are duplicated and then hit something like "SORT TO SINGLE" and it will take that list and make it into
=============== =============== ==========
49-10049
49-10051
=============== =============== ==========
This way I dont have to delete the part numbers out one by one like I have been doing.. This is a head ache... and would be grate if I can get a simple APPLICATION that can do this... Could any of you help me out please? Any or maybe code that for me?? WOULD BE A HUGE HELP!!! and save me a lot of time at work! Or maybe someone knows a program already like this????
So basic operation of the APPLICATION would be.
Open a text file in the APP that has duplicated part numbers in a format of
10-00000
Then take all duplicates out and only leave one of each part number....
So the out put would be the 2nd list of part numbers below. And the input would have been let’s say
10-00000
10-00000
10-00000 Program would take out those 2 and leave one. Is this possible?
10-00000
10-00001
10-00002
Does this make sense please let me know THANK YOU!! In advanced!
-Chris
Comment