Microsoft KB Archive/315069

= FIX: Report Preview error with properties window and data environment open =

Article ID: 315069

Article Last Modified on 2/11/2005

-

APPLIES TO


 * Microsoft Visual FoxPro 7.0 Professional Edition

-



This article was previously published under Q315069



SYMPTOMS
When you preview a report with the Properties window and data environment of the report open, Visual FoxPro closes after reporting the following error:

Fatal Error: Exception code: C0000005

This error does not occur if the data environment is not open when the preview appears.



RESOLUTION
To resolve this problem, obtain the latest service pack for Visual FoxPro for Windows 7.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

316964 How to Obtain the Latest Visual FoxPro for Windows 7.0 Service Pack



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Visual FoxPro for Windows 7.0 Service Pack 1.



Steps to Reproduce Behavior
  Create a program called &quot;Test&quot; and add the following code: ACTIVATE WINDOW &quot;properties&quot; CREATE TABLE test (f1 i,f2 c(10)) INSERT INTO test VALUES(1,&quot;aaa&quot;) CREATE REPORT testrepo FROM test MODIFY REPORT testrepo nowait

KEYBOARD '{ALT+V}E' DOEVENTS REPORT FORM testrepo PREVIEW  Save the program and then execute the program from the Command window.

Additional query words: crash dataenvironment kbVFP700sp1fix

Keywords: kbbug kbfix KB315069

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.