BUG: "Menu Manager Internal Consistency" When Modifying Table

ID: Q130084

2.60a   | 2.60a  | 2.60a
WINDOWS | MS-DOS | MACINTOSH kbprg kbbuglist kbui

The information in this article applies to:

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

Keywords          : FxprgTable kbbuglist
Version           : 2.60a   | 2.60a  | 2.60a
Platform          : MACINTOSH MS-DOS WINDOWS

Last Reviewed: May 2, 1996