Atliens911
MIS
I want to create a module that reads in a txt file that doens't always have the same dilimentor. the file looks like this
4
AInc
886946 208008 150416 961946 1112362
74.80 23 0 ,CC , 5
BInc
938985 297416 236148 943085 1179233
100.88 100 0 ,LCCC, 5
CInc
881946 188164 124572 967946 1092518
68.89 0 0 ,CC , 5
DInc
964946 214824 154232 964946 1119179
76.78 31 0 ,CC , 5
I need AInc 20808 150416 961946
lets say its company name sales assets and total and these are columns in a table called cash.
I'd like to set each field up in parallel arrays and update my table cash.
Can someone give me some direction?
thanks
4
AInc
886946 208008 150416 961946 1112362
74.80 23 0 ,CC , 5
BInc
938985 297416 236148 943085 1179233
100.88 100 0 ,LCCC, 5
CInc
881946 188164 124572 967946 1092518
68.89 0 0 ,CC , 5
DInc
964946 214824 154232 964946 1119179
76.78 31 0 ,CC , 5
I need AInc 20808 150416 961946
lets say its company name sales assets and total and these are columns in a table called cash.
I'd like to set each field up in parallel arrays and update my table cash.
Can someone give me some direction?
thanks