Microsoft KB Archive/191642

= BUG: Adding Many Forms to a Formset Causes Errors =

Article ID: 191642

Article Last Modified on 5/10/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition
 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q191642



SYMPTOMS
Adding a large number of forms to a formset causes an internal consistency error in Visual FoxPro 3.0x. In Visual FoxPro 5.0x and 6.0, the following error message occurs:

Too many windows open.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.



MORE INFORMATION
Error number 1116, whose text is shown in the SYMPTOMS section, is a non- standard error message. The dialog only has an OK button. The dialog does not have a Help button option.

Steps to Reproduce Behavior
  Create a program (.prg) that contains the following code: CLEAR x=CREAT("formset") FOR i = 1 TO 228 xtest="test"+PADL(ALLT(STR(i)),4,"0") x.ADDOBJECT(xtest,'form') ENDFOR  Run the code in Visual FoxPro 5.0x or 6.0 and you see the following error message occur:

Too many windows open.

 Running the code in Visual FoxPro 3.0x creates the following error message and FoxPro shuts down:

Internal Consistency error.



Visual FoxPro for the Macintosh 3.0b does not produce an error when running this code.

Additional query words: kbVFp500abug kbVFp300bbug kbVFp600bug kbContainer

Keywords: kbbug kbnofix KB191642

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.