This article was previously published under Q208875
Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
↑ Back to the top
When you save a report in MS-DOS Text (.txt) format or Rich Text Format
(.rtf), the text in the resulting file is wrapped differently than in the
original report, or it is truncated differently.
↑ Back to the top
Text width is calculated differently when you use the OutputTo macro action or the Export command than it is when you print or preview a report.
↑ Back to the top
Adjust the size of the controls in the report, or change the font, so that
the text wraps correctly in the saved file.
↑ Back to the top
Microsoft has confirmed that this is a problem in Microsoft Access 2000.
↑ Back to the top
This noticeablility of this problem may vary depending on the font used in
the report.
Steps to Reproduce Problem
- Start Microsoft Access, and then open the sample database Northwind.mdb or the sample project NorthwindCS.adp.
- Open the Alphabetical List of Products report in Design view.
- Select the Product Name text box, and then change the font setting to Arial 12.
- Preview the report. Note that the text "Chef Anton's Cajun Seasoning"
is truncated.
- Export the report to a file with MS-DOS Text format either by creating a macro using the OutPutTo action or by using the Export command on the File menu.
- View the text file in any text editor (such as Notepad). Note that
the text "Chef Anton's Cajun Seasoning" is not truncated.
↑ Back to the top
For more information about exporting reports to text files, click Microsoft Access Help on the
Help menu, type export data or database objects to another database or file format in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
For more information about the OutPutTo action in macros, click Microsoft Access Help on the Help menu, type outputto action in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
↑ Back to the top