Microsoft KB Archive/130084

{| = BUG: "Menu Manager Internal Consistency" When Modifying Table =
 * width="100%"|

ID: Q130084

2.60a  | 2.60a  | 2.60a WINDOWS | MS-DOS | MACINTOSH kbprg kbbuglist kbui 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.

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.