Knowledge Base

FIX: You receive an error message when you print from the Report Designer in Visual FoxPro 5.0

Article ID: 158319

Article Last Modified on 2/18/2005


APPLIES TO


This article was previously published under Q158319

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 Quick 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: kbbug kbfix kbvfp500afix kbprint kbui KB158319