Doc_Holliday_2000
Nov 2nd, 2000, 10:56 AM
I have to process delimited files on a regular basis and
would like to automate the process.
The incomming files have the following format:
|_12345678_____| Qty1 |
|___23456789___| Qty2 |
|___34567890___| Qty3 |
|_____45678901_| Qty4 |
|_____56789012_| Qty5 |
|___67890123___| Qty6 |
|___78901234___| Qty7 |
(this is a multi-level indented Bill Of Material report that is delimited with pipe symbols)
I need to turn this .txt file into a table with 3 fields:
Bill of material part number - BMPN
Component part number - CPN
Quanity - QTY
So the table would look like this:
|___BMPN__|___CPN___|Qty_|
|_12345678_|_23456789_|Qty2|
|_12345678_|_34567890_|Qty3|
|_12345678_|_67890123_|Qty6|
|_12345678_|_78901234_|Qty7|
|_34567890_|_45678901_|Qty4|
|_34567890_|_56789012_|Qty5|
I would love some advise from anyone with a clearer view of how to handle this than I.
Thanks,
Doc.
would like to automate the process.
The incomming files have the following format:
|_12345678_____| Qty1 |
|___23456789___| Qty2 |
|___34567890___| Qty3 |
|_____45678901_| Qty4 |
|_____56789012_| Qty5 |
|___67890123___| Qty6 |
|___78901234___| Qty7 |
(this is a multi-level indented Bill Of Material report that is delimited with pipe symbols)
I need to turn this .txt file into a table with 3 fields:
Bill of material part number - BMPN
Component part number - CPN
Quanity - QTY
So the table would look like this:
|___BMPN__|___CPN___|Qty_|
|_12345678_|_23456789_|Qty2|
|_12345678_|_34567890_|Qty3|
|_12345678_|_67890123_|Qty6|
|_12345678_|_78901234_|Qty7|
|_34567890_|_45678901_|Qty4|
|_34567890_|_56789012_|Qty5|
I would love some advise from anyone with a clearer view of how to handle this than I.
Thanks,
Doc.