G
Guest
Hi,
I've read several posts regarding this topic and they have been very helpful
but I still haven't resolved my problem. I have a fixed width .dat file.
The manufacturer says that each line has 24 characters and the last 2
characters are <CRLF>.
When I use the import wizard and create a spec for the import it imported
fine EXCEPT it imported an empty row between each record. After reading John
Nuriks postings I investigated the file using HexEdit and saw that there
seemed to be an extra OD character. Each line ends with ODOD OA. Another
issue may be that there are 3 header rows of which have different lengths
(some more than 24 characters) - but they all begin with H and that there is
more than one "set of data" - meaning 3 header rows appear multiple times in
the file.
I was planning on writing a VB procedure to loop through and skip the header
rows but I don't know how to tell it to recognize the ODOD OA characters.
I hope I have explain this clearly enough for someone to help me.
Thanks
LeAnn
I've read several posts regarding this topic and they have been very helpful
but I still haven't resolved my problem. I have a fixed width .dat file.
The manufacturer says that each line has 24 characters and the last 2
characters are <CRLF>.
When I use the import wizard and create a spec for the import it imported
fine EXCEPT it imported an empty row between each record. After reading John
Nuriks postings I investigated the file using HexEdit and saw that there
seemed to be an extra OD character. Each line ends with ODOD OA. Another
issue may be that there are 3 header rows of which have different lengths
(some more than 24 characters) - but they all begin with H and that there is
more than one "set of data" - meaning 3 header rows appear multiple times in
the file.
I was planning on writing a VB procedure to loop through and skip the header
rows but I don't know how to tell it to recognize the ODOD OA characters.
I hope I have explain this clearly enough for someone to help me.
Thanks
LeAnn