PRB: Insufficient Memory in Visual FoxPro on Fast ComputersLast reviewed: January 14, 1998Article ID: Q179287 |
The information in this article applies to:
SYMPTOMSWhen using a large table, cursor, or array (over 275 records) as the row source of a combo box, you may see the following error message:
There is not enough memory to complete this operation. RESOLUTIONHere are four workarounds for this problem:
To use a grid instead of a combo box, replace the cbocombo class definition with the following code:
DEFINE CLASS cboCombo AS GRID LEFT = 10 TOP = 25 WIDTH=140 HEIGHT=100 VISIBLE=.T. RECORDSOURCETYPE=1 RECORDSOURCE="Customer" ENDDEFINETo use a list box instead of a combo box, replace the cbocombo class definition with the following code:
DEFINE CLASS cboCombo AS LISTBOX LEFT = 10 TOP = 25 WIDTH=140 HEIGHT=100 VISIBLE=.T. ROWSOURCETYPE=6 ROWSOURCE="Customer.cust_id" ENDDEFINE STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThis behavior does not occur in Visual FoxPro 5.0 or 5.0a nor does this behavior occur with Visual FoxPro 3.0 when either of the following conditions is true:
Steps to Reproduce Behavior
Keywords : FxenvError FxotherSample vfoxwin Version : WINDOWS:3.0,3.0b Platform : WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |