Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export or Convert Access Report to Text File

Status
Not open for further replies.

leaf3

Programmer
Nov 19, 2001
7
US
Hi,
Is there a way to convert Access report to a MS-DOS text file without loosing format. I tried to publish the report with MS Word and then saving it as .txt file but some format is being lost? Thank You.
 
By definition, an MS-DOS text file doesn't have any formatting. Do you mean you want to maintain the column positioning? There is a way to do that, but it's a little tricky getting it right initially.

Add a new printer to your system using the text-only printer driver, and set its "port" to "FILE:". When you print to this printer, a dialog box pops up asking you for a file name. The report will be converted to text. Getting the columns to line up with heading will take some experimentation, because the printer driver will attempt to round column positions to tenths of an inch. A slight difference you can't even see on the screen can cause a field to be off by one position. Rick Sprague
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top