FIX: Relationship Between Tables May Cause ICE or GPF

ID: Q119251

2.5x 2.60 | 2.5x 2.60

WINDOWS   | MS-DOS

The information in this article applies to:

SYMPTOMS

Under certain rare circumstances, setting a relationship between two tables causes an "Internal Consistency Error" message.

Notes

In the Extended (32-bit) version of FoxPro for MS-DOS (FOXPROX.EXE), the lower portion of the screen turns red with yellow characters. This portion of the screen contains random characters in addition to the "Internal Consistency Error" message.

In FoxPro for Windows, the following error message also appears:

   FOXPROW caused a General Protection Fault in module <unknown>
   FOXPROW will close.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in FoxPro 2.6a for Windows and FoxPro 2.6a for MS-DOS.

MORE INFORMATION

Steps to Reproduce Problem

NOTE: This program creates new SALESMAN indexes for the INVOICES and SALESMAN tables.

Create and run the following program in FoxPro:

   CLEAR ALL

   SELECT A
   USE (SYS(2004) + "\tutorial\invoices")
   SET SAFETY OFF
   INDEX ON salesman TAG salesman

   SELECT B
   USE (SYS(2004) + "\tutorial\salesman")
   INDEX ON salesman TAG salesman
   SET SAFETY ON

   SELECT A
   SET RELATION TO salesman INTO salesman
   BROWSE NOWAIT

   SELECT B
   BROWSE NOWAIT
   MODIFY MEMO notes NOWAIT
   MODIFY FILE test.txt NOWAIT && this file does not have to exist
   KEYBOARD "{ctrl+f1}"
   KEYBOARD "{ctrl+f1}"
   KEYBOARD "{ctrl+f1}"
   KEYBOARD "{ctrl+f1}"

Additional reference words: FoxDos FoxWin buglist2.50 buglist2.50a buglist2.50b buglist2.60 fixlist2.60a 2.50 2.50a 2.50b 2.60 errmsg err msg ice gpf gp fault databases KBCategory: KBSubcategory: FxprgBrowse
Keywords          : kberrmsg FxprgBrowse 
Version           : 2.5x 2.60 | 2.5x 2.60
Platform          : MS-DOS WINDOWS
Solution Type     : kbfix

Last Reviewed: May 22, 1998