ID: Q114156
2.5x 2.6x | 2.5x 2.6x
WINDOWS | MS-DOS
The information in this article applies to:
When you double-click a memo field displayed as an @ ... SAY in a format file, an "Internal Consistency Error" occurs.
There are two workarounds for this problem. The first is to use a BROWSE PREFERENCE command instead of the BROWSE FORMAT command. The second is to replace the format file with a screen. Format files are included in later versions of FoxPro only for backwards compatibility; the Screen Builder should be used instead.
Microsoft 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.0 for Windows.
Once the error occurs, pressing the ENTER or ESC keys several times will cause a stack fault error under Windows and will hang the machine under MS-DOS.
1. Start FoxPro for Windows.
2. Open the SALESMAN table in the <FoxPro_directory>\TUTORIAL subirectory.
3. Create a format file by issuing the following command:
MODIFY FILE format1.FMT
4. In this file, place the following code:
@1,1 SAY notes
5. Close the file.
6. In the Command window, type the following commands:
SET FORMAT TO format1.FMT
BROWSE FORMAT
The Browse window will appear. The word "Memo" will not appear, but the
text will be visible.
7. Double-click one of the lines of text. The error will occur.
Additional reference words: FoxDos VFoxWin FoxWin 2.50 2.50a 2.50b 2.60 2.60a ice errmsg err msg fixlist3.00 buglist2.50 buglist2.50a buglist2.50b buglist2.60 buglist2.60a crash KBCategory: KBSubcategory: FxprgGeneral
Keywords : kberrmsg FxprgGeneral
Version : 2.5x 2.6x | 2.5x 2.6x
Platform : MS-DOS WINDOWS
Solution Type : kbfix
Last Reviewed: May 22, 1998