- Local time
- Today, 09:11
- Joined
- Sep 12, 2006
- Messages
- 16,096
really you need a different process for each file type.
So if HSBC have a one format, and NatWest have another, you have to use the correct process.
Basically if a file consists of a sequence of lines in a particular order, but not all the same format.
there is/was a product called monarch that could text a text/prn file, and spl.it out data from your analysis of the file structure.
So if HSBC have a one format, and NatWest have another, you have to use the correct process.
Basically if a file consists of a sequence of lines in a particular order, but not all the same format.
Code:
open file
repeat
read a line
test the line to see what it is
process the line
'maybe build up a record based on a sequence of
'header
'detail
'detail
'detail
'detail
'footer
until end of file
close file
there is/was a product called monarch that could text a text/prn file, and spl.it out data from your analysis of the file structure.