FIX: Internal Consistency Error Occurs with Buffered Data and GOTO Command (319041)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 7.0

This article was previously published under Q319041

SYMPTOMS

When you use table buffering with a table that has a compound index file (.cdx), and you issue a GOTO command, you receive the following error message:
Internal Consistency Error
After you receive this message, Visual FoxPro closes.

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 Microsoft Visual FoxPro for Windows 7.0.

This problem was first corrected in Visual FoxPro for Windows 7.0 Service Pack 1.

MORE INFORMATION

Steps to Reproduce Behavior


Paste the following code in a program (.prg) file named Test, and then run the program from the Command window:
SET SAFETY OFF
ON ERROR *
CLOSE DATABASES  ALL
DELETE DATABASE Test DELETETABLES
CREATE DATABASE Test
CREATE TABLE Test (F1 c(1))
FOR i=1 TO 196/2
   INSERT INTO Test VALUES("a")
   INSERT INTO Test VALUES("b")
NEXT
INDEX ON F1 tag test
SET ORDER TO 1
SET MULTILOCKS ON
CURSORSETPROP("Buffering",5)
REPLACE f1 WITH "d" FOR f1="b"
REPLACE f1 WITH "b" FOR f1="a"
INSERT INTO Test VALUES("c")
GO 196
				

Modification Type:MajorLast Reviewed:4/10/2002
Keywords:kbbug kbCodeSnippet kbDatabase kbDSupport kbVFP700sp1fix KB319041