ID: Q119251
2.5x 2.60 | 2.5x 2.60
WINDOWS   | MS-DOS
Under certain rare circumstances, setting a relationship between two tables causes an "Internal Consistency Error" message.
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.
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.
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}"
Keywords          : kberrmsg FxprgBrowse 
Version           : 2.5x 2.60 | 2.5x 2.60
Platform          : MS-DOS WINDOWS
Solution Type     : kbfixLast Reviewed: May 22, 1998