ID: Q124300
2.50 2.50a 2.50b 2.60 | 2.50 2.50a 2.50b 2.60 | 2.50b 2.50c
WINDOWS | MS-DOS | MACINTOSH
kbprg kbfixlist kbbuglist
The information in this article applies to:
If a FORMAT file contains GET/SAY commands and a COLOR clause is on every GET/SAY, FoxPro generates a divide by zero or overflow error, followed by a general protection (GP) fault after running the BROWSE FORMAT command.
FoxPro completely ignores a GET/SAY containing a COLOR clause when called from BROWSE FORMAT. When every field has COLOR, there are no fields to process, so FoxPro generates the error.
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 version 2.6a for MS-DOS, FoxPro version 2.6a for Macintosh, and FoxPro version 2.6a for Windows.
1. Create a program in FoxPro that contains these two lines:
@ 1,1 GET company
@ 2,1 GET contact COLOR w+/r,n/w
2. Save the Program as TEST.FMT.
3. Open the Customer table.
4. In the Command window type:
SET FORMAT TO test.fmt
BROWSE FORMAT
You will notice that the only field in BROWSE is the COMPANY field. If you
add the same COLOR clause to the CONTACT line, the errors mentioned above
occur.
Additional reference words: FoxWin FoxDos FoxMac 2.50 2.50a 2.50b 2.50c 2.60 buglist2.50 buglist2.50a buglist2.50b buglist2.50c buglist2.60 fixlist2.60a KBCategory: kbprg kbfixlist kbbuglist KBSubcategory: FxprgBrowse Solution Type : kbfix
Last Reviewed: September 22, 1997