When using Edit/Menu Design to delete a menu in the Window Navigation Diagram the menu is still present and the user may subsequently encounter a build error RC2104.

Document ID : KB000026083
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem:

In the Window Navigation Diagram when using Edit/Menu Design to delete a menu item, the item is still present after returning to the Window. This incomplete delete can subsequently result in a build error of the form:

"Error RC2104 : undefined keyword or key name: RCMD_XXXXXX_NO_COMMAND". 

 

Cause:

This is a known problem which has a documented workaround but the root cause has never been found

 

Workaround:

  1. In the Window Navigation Diagram, under Options disable the option "Common Edit Modifications".
  2. Set Edit/Mode to Window and using Edit/Menu Design delete the menu item. After returning to the Window the menu item is still present.
  3. Change Edit/Mode to HTML.
  4. In HTML mode, delete the menu item. If the item has been removed from the Window menu go to step 7, otherwise continue with step 5.
  5. Change Edit/Mode to ASP.NET.
  6. In ASP.NET mode, delete the menu item. The item should then be removed from the Window menu.
  7. Change Edit/Mode back to Window or HTML.
  8. The menu item deleted in steps 2 and 4 should no longer be visible.
  9. Re-enable the option "Common Edit Modifications".