FIX: Printing from Report Designer Gets Error Message in VFP 5

Last reviewed: October 29, 1997
Article ID: Q158319
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 5.0

SYMPTOMS

The following error is returned in the Report Designer:

   This program has performed an illegal operation and will be shut down.

This occurs under the following conditions:
  • The report is printed while the Report Designer is open.
  • The DataEnvironment is opened and the Property sheet is opened.
  • The DataEnvironment is closed without first closing the Property sheet.

WORKAROUND

Do not close the DataEnvironment without first closing the Property Sheet.

STATUS

This problem has been fixed in Visual FoxPro 5.0a.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a short report based on some table, and keep the Designer window open.

  2. Print the report using the right-click menu or selecting Print from the File menu.

  3. Open the DataEnvironment window.

  4. Open the Property Sheet window.

  5. Close the DataEnvironment window.
Keywords          : buglist5.00 FxtoolReportdes vfoxwin vfpfix5.0a kbprint kbui kbbuglist kbfixlist
Version           : 5.0
Platform          : WINDOWS
Issue type        : kbbug
Solution 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: October 29, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.