ACC2: Output To RTF or TXT Ignores Section's CanShrink Property

Last reviewed: May 14, 1997
Article ID: Q131828
The information in this article applies to:
  • Microsoft Access version 2.0

SYMPTOMS

Advanced: Requires expert coding, interoperability, and multiuser skills.

When you use the Output To command to output a report to a Rich Text Format (RTF) file or an MS-DOS Text (TXT) file, the CanShrink property of a section is ignored.

STATUS

This behavior no longer occurs in Microsoft Access version 7.0.

MORE INFORMATION

Steps to Reproduce Problem

  1. Open the sample database NWIND.MDB.

  2. Create a blank report based on the Employees table and save it as Report1.

  3. If it is not displayed, choose Field List from the View menu, and then drag the First Name field from the Field List box to the top of the detail section.

  4. Set the First Name control's properties as follows:

    Name: First Name ControlSource: First Name CanShrink: Yes Left: 1 Top: 0 Height: .5

  5. Drag the Last Name field from the Field List box to the detail section below the First Name field.

  6. Set the Last Name control's properties as follows:

    Name: Last Name ControlSource: Last Name CanShrink: Yes Left: 1 Top: .5 Height: .5

  7. Set the detail section's CanShrink property to Yes.

  8. Preview the Report1 report. Note that there are no blank lines between the Last Name and First Name fields.

  9. From the File menu, choose Output To.

  10. In the Select Format box, select MS-DOS Text (*.txt), and then choose the OK button.

  11. In the File Name box, type the filename "canshrnk.txt" (without the quotation marks), and then choose OK.

  12. Switch to File Manager and locate the CANSHRNK.TXT file. Double- click the CANSHRNK.TXT file to open it in Notepad. Note that the records have blank space between the fields.

REFERENCES

For more information about the Output To command, search for "Output To," and then "Output To Command (File Menu)" using the Microsoft Access Help menu.


Keywords : kbusage OtpProb
Version : 2.0
Platform : WINDOWS
Hardware : X86
Issue type : kbbug
Resolution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 14, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.