Kiwiman
Registered User
- Local time
- Today, 18:44
- Joined
- Apr 27, 2008
- Messages
- 799
Howzit
I am having trouble with exporting data from a table to a pipe delimited txt file.
When I use the following code, I get a merging of the 17th \ 18th record. The data in the table looks ok. I have used different datasets when exporting but always the same result.
however when I use the following, that does not have column headers, the data extracted looks ok
Has anyone seen this before and can you offer any solutions to this. I have tried deleting the specification and recreating but I get the same result.
I attach a cut down version of this database, should you wish to look at it, plus the two different files it creates (Hdgs or no Hdgs)
Thanks very much.
I am having trouble with exporting data from a table to a pipe delimited txt file.
When I use the following code, I get a merging of the 17th \ 18th record. The data in the table looks ok. I have used different datasets when exporting but always the same result.
Code:
DoCmd.TransferText acExportDelim, strExport, stDocName, strFileName, True
however when I use the following, that does not have column headers, the data extracted looks ok
Code:
DoCmd.TransferText acExportDelim, strExport, stDocName, strFileName, False
Has anyone seen this before and can you offer any solutions to this. I have tried deleting the specification and recreating but I get the same result.
I attach a cut down version of this database, should you wish to look at it, plus the two different files it creates (Hdgs or no Hdgs)
Thanks very much.