Microsoft KB Archive/171047: Difference between revisions
(importing KB archive) |
m (Text replacement - ">" to ">") |
||
Line 118: | Line 118: | ||
The code generally fails when the screen loads on faster computers. This problem happens only when the table contains more than about 600 records. Try deleting all but the first 600 records: | The code generally fails when the screen loads on faster computers. This problem happens only when the table contains more than about 600 records. Try deleting all but the first 600 records: | ||
<pre class="CODESAMP"> DELETE ALL FOR RECNO | <pre class="CODESAMP"> DELETE ALL FOR RECNO > 600 </pre> | ||
(c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Mike Fernald, Microsoft Corporation.<br /> | (c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Mike Fernald, Microsoft Corporation.<br /> | ||
<br /> | <br /> |
Revision as of 20:41, 20 July 2020
The information in this article applies to:
SYMPTOMSWorking programs in FoxPro 2.x fail with the error "Insufficient Memory" when run on newer, faster computers with clock speeds greater than 150 MHz. This problem applies to both screens with list boxes and queries, but this article addresses only the problem with FoxPro screens.
CAUSEThe current fast computers were not available for testing when FoxPro 2.x for Windows was initially released. Microsoft FoxPro for Windows, 2.x does not always work with list boxes populated from tables with more than 600 records.
RESOLUTIONAt this time Microsoft does not have a good workaround; however, the following are options to consider:
Along with the preceding steps, some users have found that adding the following line to the Config.fpw file helps to solve the problem: MEMLIMIT = 60,2048,4098
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
MORE INFORMATIONUse the Microsoft Knowledge Base at the following URL to troubleshoot other potential causes of the "Insufficient memory" errors: NOTE: Verify that the error is due to the processor speed by trying the code on both a fast and slow computer. Steps to Reproduce BehaviorThe following is a reproducible case where FoxPro for Windows 2.x fails with "Insufficient memory" error with a list box on a screen.
The code generally fails when the screen loads on faster computers. This problem happens only when the table contains more than about 600 records. Try deleting all but the first 600 records: DELETE ALL FOR RECNO > 600 (c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Mike Fernald, Microsoft Corporation. Additional query words: foxwin fpw MMX Keywords : FoxWin FxenvGeneral Version : WINDOWS:2.6,2.6a Platform : WINDOWS Issue type : kbprb |
Last Reviewed: June 28, 1999 |