ACC97: OutputTo Message Box Displays Incorrect AutoReport Name

Last reviewed: May 30, 1997
Article ID: Q163716
The information in this article applies to:
  • Microsoft Access 97

SYMPTOMS

Novice: Requires knowledge of the user interface on single-user computers.

When you export an AutoReport to an external file, the report name that is displayed in the OutputTo message box is not the name that you gave to the AutoReport when you saved it.

CAUSE

When you use the AutoReport or AutoForm command, the Caption property of the new report or form is set to the name of the object from which it is created. The Caption property is used in the OutputTo message box when the report or form is exported.

STATUS

This behavior is by design.

MORE INFORMATION

When you create an AutoReport or AutoForm, the report or form will have the name contained in the Caption property of the table or query from which it is created.

For example, if you create an AutoReport based on the Products table in the sample database Northwind.mdb, the Caption property of the new report will be Products. If you save this report as Products1, the report will appear as Products1 in the Database window; however, when you open the report or output the report, you will see the name Products. If you want the names to match, you must change the Caption property of the report to the name that appears in the Database window.

Steps to Reproduce Behavior

  1. Open the sample database Northwind.mdb.

  2. In the Database window, click the Tables tab and select the Products table. Click the arrow on the New Objects button on the tool bar, and then click AutoReport on the menu that appears.

  3. Save the newly created report as "Products1" (without the quotation marks), and then close it.

  4. In the Database window, click the Reports tab, and click the Products1 report.

  5. On the File menu, click Save As/Export. In the Save As box, click "To an External File or Database", and then click OK.

  6. In the "Save Report 'Products' In" box, click Rich Text Format(*.rtf) in the Save As Type box, and then click Export. Note that the following message box is displayed:

          Now outputting "Products" to the file "C:\My Documents\Products1.RTF"
    

REFERENCES

For more information about outputting a report, search the Help Index for "OutputTo," or ask the Microsoft Access 97 Office Assistant.


Keywords : kbusage
Version : 97
Platform : WINDOWS
Hardware : X86
Issue type : kbprb
Resolution Type : Info_Provided


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 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.