B
blnukem
Hi All
I looking for a simple way to update multiple lines in a flat file from
incoming array with multiple values the file structure goes like this:
Part-number | Name | Quantity
The file looks like this:
123456|headlamp|6
123457|camshaft|3
123458|tire|8
123459|wipperblades|10
The updated incoming values look like this
Part-number | NEW Quantity
123457 4
123459 8
So what I need it to do is update the flat file so it will look like this:
123456|headlamp|6
123457|camshaft|4
123458|tire|8
123459|wipperblades|8
I cant seem to make it work without getting multiple duplicate entry's
Thanks in advance
Blnukem
I looking for a simple way to update multiple lines in a flat file from
incoming array with multiple values the file structure goes like this:
Part-number | Name | Quantity
The file looks like this:
123456|headlamp|6
123457|camshaft|3
123458|tire|8
123459|wipperblades|10
The updated incoming values look like this
Part-number | NEW Quantity
123457 4
123459 8
So what I need it to do is update the flat file so it will look like this:
123456|headlamp|6
123457|camshaft|4
123458|tire|8
123459|wipperblades|8
I cant seem to make it work without getting multiple duplicate entry's
Thanks in advance
Blnukem