FIX: "INDEX Internal Consistency Error" Occurs with SET KEYLast reviewed: October 29, 1997Article ID: Q139091 |
3.00
WINDOWS
kbprg kbfixlist kbbuglist
The information in this article applies to:
SYMPTOMSAn "INDEX Internal Consistency Error" (ICE) occurs when you browse a cursor with optimistic or pessimistic table buffering set and a SET KEY command active. Running a form containing a grid with its RecordSource property set to a table that has buffering and SET KEY active causes the same error.
WORKAROUNDInclude the records you want by using a method other than the SET KEY command. For example, use the SET FILTER command or create an index tag that includes only those records that you want. -or- Use row buffering rather than table buffering.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0b for Windows.
MORE INFORMATION
Steps to Reproduce ProblemRunning the following example code will cause Visual FoxPro 3.0 to quit. Please close any important files in Visual FoxPro before running either of these tests. These examples use the Customer table from Testdata.dbc in the \Vfp\Samples\Data directory. To reproduce the problem in a BROWSE, run the following code in a program (.prg file) or in the Command window:
SET MULTILOCKS ON USE customer ORDER cust_id =CURSORSETPROP('buffering',4) SET KEY TO RANGE "T","V" BROWSEWhen the BROWSE window appears, the "INDEX Internal Consistency Error" error will also appear. When you press a key, Visual FoxPro quits. To reproduce the problem in a grid control on a form:
Additional Notes
|
Additional reference words: 3.00 VFoxWin fixlist3.00b buglist3.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |