Microsoft KB Archive/208875

= ACC2000: Text in Saved Report File Is Wrapped Differently than in the Original Report =

Article ID: 208875

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



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).



SYMPTOMS
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.



CAUSE
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.



RESOLUTION
Adjust the size of the controls in the report, or change the font, so that the text wraps correctly in the saved file.



STATUS
Microsoft has confirmed that this is a problem in Microsoft Access 2000.



MORE INFORMATION
This noticeablility of this problem may vary depending on the font used in the report.

Steps to Reproduce Problem

 * 1) Start Microsoft Access, and then open the sample database Northwind.mdb or the sample project NorthwindCS.adp.
 * 2) Open the Alphabetical List of Products report in Design view.
 * 3) Select the Product Name text box, and then change the font setting to Arial 12.
 * 4) Preview the report. Note that the text "Chef Anton's Cajun Seasoning" is truncated.
 * 5) 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.
 * 6) View the text file in any text editor (such as Notepad). Note that the text "Chef Anton's Cajun Seasoning" is not truncated.

