BUG: "Menu Manager Internal Consistency" When Modifying Table

Last reviewed: April 30, 1996
Article ID: Q130084
The information in this article applies to:
  • Microsoft FoxPro for Windows, version 2.6a
  • Microsoft FoxPro for MS-DOS, version 2.6a
  • Microsoft FoxPro for Macintosh, version 2.6a

SYMPTOMS

FoxPro generates a "Menu manager internal consistency error" when trying to use the Setup dialog to modify an index that has more than 256 index tags.

RESOLUTION

Do not use the interface to modify the index. You can safely add, modify, and remove index tags by using the INDEX ON and DELETE TAG commands. The index file continues to be maintained properly by FoxPro.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. Create a table called TEST.DBF in the root directory of the C: drive. Give the table the following fields:

       Lname   C(15)
       Fname   C(20)
       Age     N(3)
    
    

  2. Create a program file (.PRG file) that contains the following code:

    CLOSE ALL SET DEFAULT TO C:\ SELECT 0 USE TEST.DBF FOR I = 1 TO 300

          tagname = 'tsttag' + ALLTRIM(STR(i))
          INDEX ON lname TAG (tagname) OF TEST.CDX ADDITIVE
    
    ENDFOR USE

  3. Save and run the .PRG file.

  4. Choose View item from the Windows menu to open the View window.

  5. Open the table TEST.DBF in the first work area.

  6. Click the button SETUP in the View window. FoxPro for MS-DOS generates a "Menu manager internal consistency error" at this point.

  7. Click the Modify button in the Setup window.

  8. A "Menu manager internal consistency error" is displayed in FoxPro for Windows and FoxPro for the Macintosh.

REFERENCES

Microsoft FoxPro for Windows "User's Guide," "Set up the current work area" on page 4-2.

Microsoft FoxPro "Language Reference," version 2.6, INDEX command on page 3-571.


Additional reference words: FoxWin FoxDos FoxMac 2.60a buglist2.60a
KBCategory: kbprg kbbuglist kbui
KBSubcategory: FxprgTable


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.