Import question
Posted: Tue May 13, 2014 12:59 pm
Roger,
We import all sort of files from banks and other resources. Normally a flat file with fixed length, or one that is comma delimited..or has some sort of identifier.
This one is tab delimited with each line being a different length. There is no tab delimited in Alask that I can find, just the comma. The var length makes it difficult to use any memoread. There is no constant at the beginning of each line. There are quotes around each item.
Any thoughts on how to read this file record by record to import...or best method?
I am considering looking for the end of line (return) and build it manually line by line, but was wondering if there was something I do not know about.
Update: There is no return at the end of each line, although there are definite lines. Using an editor with hex showing has nothing at the end of each line. I may be doing something wrong..not sure.
Thanks
Fred
Omni
We import all sort of files from banks and other resources. Normally a flat file with fixed length, or one that is comma delimited..or has some sort of identifier.
This one is tab delimited with each line being a different length. There is no tab delimited in Alask that I can find, just the comma. The var length makes it difficult to use any memoread. There is no constant at the beginning of each line. There are quotes around each item.
Any thoughts on how to read this file record by record to import...or best method?
I am considering looking for the end of line (return) and build it manually line by line, but was wondering if there was something I do not know about.
Update: There is no return at the end of each line, although there are definite lines. Using an editor with hex showing has nothing at the end of each line. I may be doing something wrong..not sure.
Thanks
Fred
Omni