DOCUMENT:Q158319 07-SEP-2001 [foxpro] TITLE :FIX: Printing from Report Designer Gets Error Message in VFP 5 PRODUCT :Microsoft FoxPro PROD/VER:5.0 OPER/SYS: KEYWORDS:kbprint kbui kbvfp kbvfp500aFIX kbvfp500bugkbbuglist kbfixlist ====================================================================== ------------------------------------------------------------------------------- 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. Additional query words: ====================================================================== Keywords : kbprint kbui kbvfp kbvfp500aFIX kbvfp500bug kbbuglist kbfixlist Technology : kbVFPsearch kbAudDeveloper kbVFP500 Version : 5.0 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. Copyright Microsoft Corporation 2001.