I have a table (impoted) which has several fields from which my customer demand I produce a delimited text file exactly as the sample below, I can create the data portion no issues but I need to include 2 header lines in the output file i.e the IBO and the IBD lines as below
IBO|G1234567|3.60
IBD|1010012345| 1DE5XN |400|U|G1234567
SRN|4010101010|G1234567|354203038293595|||1DE5XN
SRN|4010101010|G1234567|354203038293603|||1DE5XN
SRN|4010101010|G1234567|354203038293835|||1DE5XN
SRN|4010101010|G1234567|354203038293785|||1DE5XN
All the data is contained in the same table but repeated line by line for the IBO and IBD data
S 2PO PTN SERNo A B IBO Sver D ProdC PQty E DOrder
SRN 4010101010 G1234567 354203038293595 IBO 3.60 IBD 1DELL5XN 400 U 1000001
SRN 4010101010 G1234567 354203038293603 IBO 3.60 IBD 1DELL5XN 400 U 1000001
SRN 4010101010 G1234567 354203038293785 IBO 3.60 IBD 1DELL5XN 400 U 1000001
Can anyone suggest a way of producing this or suggesting which way I should go on this.
Steve
IBO|G1234567|3.60
IBD|1010012345| 1DE5XN |400|U|G1234567
SRN|4010101010|G1234567|354203038293595|||1DE5XN
SRN|4010101010|G1234567|354203038293603|||1DE5XN
SRN|4010101010|G1234567|354203038293835|||1DE5XN
SRN|4010101010|G1234567|354203038293785|||1DE5XN
All the data is contained in the same table but repeated line by line for the IBO and IBD data
S 2PO PTN SERNo A B IBO Sver D ProdC PQty E DOrder
SRN 4010101010 G1234567 354203038293595 IBO 3.60 IBD 1DELL5XN 400 U 1000001
SRN 4010101010 G1234567 354203038293603 IBO 3.60 IBD 1DELL5XN 400 U 1000001
SRN 4010101010 G1234567 354203038293785 IBO 3.60 IBD 1DELL5XN 400 U 1000001
Can anyone suggest a way of producing this or suggesting which way I should go on this.
Steve