Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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


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.

↑ Back to the top


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.

↑ Back to the top


Resolution

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


Status

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

↑ Back to the top


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.

↑ Back to the top


References

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


Keywords: KB208875, kbnofix, kbbug

↑ Back to the top

Article Info
Article ID : 208875
Revision : 2
Created on : 6/24/2004
Published on : 6/24/2004
Exists online : False
Views : 254