john123allen
Mar 17 2007, 10:29 AM
Novice Access user. I have a long report of 200 lines and 30 to 40 characters each line, pulled from a complex query. When I export it to a text file for a required transmission there are unwanted carriage returns in the text file. I do not use the Wizard and it cannot be and is not a delimited or fixed length file. Would appreciate some help.
ace
Mar 17 2007, 10:53 AM
So you're just right clicking the query and selecting export?
Are there also carriage returns that are wanted?
john123allen
Mar 17 2007, 11:31 AM
I run my report. It looks fine. Go to file. Click export. Save as type. Click text file. Open the text file and there are carriage returns every 5 to 6 lines. There are no carriage returns appearing in the report before it is exported to the text file.
vtd
Mar 17 2007, 04:26 PM
Try exporting the data from the Source Query instead of the Report ...
john123allen
Mar 17 2007, 08:38 PM
I can not send directly from the query. The Report massages the data into a flat file just the way the EDI recipient wants it. That is except for the emply lines caused by the unwanted carriage returns.
vtd
Mar 17 2007, 10:16 PM
If your data can be massaged in the Report, it should be possible to massage the same data in a Query.
Perhaps you should post a sample copy of the database with the Report you want to output and see if anyone can massage the data using a Query ...
brett_hinman
May 3 2007, 08:54 AM
Did you ever get this resolved? I'm having the exact same problem.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.