I have a flat file, 52 lines long, that needs imported into my database as a workable file. There will be multiple text files of varying length - this is an EDI 204 and we receive a couple hundred per day. I was able to create the outbound EDI using a file parsing program. The problem is the inbound. How can I get the multiple lines into one record? I need everything from the ISA* to the end and I don't really need the qualifiers.
What I want is to be able to say, ISA line, from 18 - 25 is field 1, 1st N9 line is field 2, 2nd N9 line is field 3, etc. But I can make it work if I can get the whole thing into one access record, say with one field per line break. If I can do that, then I would need everything from ISA to ISA (there will be multiple ISA's with 50 -52 lines per ISA, in one text item) with records based on line breaks. Any ideas?
Basically, is there any way to get the multiple lines into one record? Thanks.
What I want is to be able to say, ISA line, from 18 - 25 is field 1, 1st N9 line is field 2, 2nd N9 line is field 3, etc. But I can make it work if I can get the whole thing into one access record, say with one field per line break. If I can do that, then I would need everything from ISA to ISA (there will be multiple ISA's with 50 -52 lines per ISA, in one text item) with records based on line breaks. Any ideas?
Basically, is there any way to get the multiple lines into one record? Thanks.