third_party_content:community:commentary:forums_nonworks:c52ec6b6e9ac707885256ae300781db1

Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 12 OCT 2001 05:51:59PM Frank Adamo wrote:

I've posed a question recently relating to missing menus, however I'm still having problems.

First question: Is there any reason why we cannot use a different file name other than MENUS? I've created different menu files, e.g. AR_MENUS and GL_MENUS. But everytime I set up a menu option to go to another menu, e.g. AR_REPORTS, I can view the AR_REPORTS menu once, but thereafter I receive an error message such as Menu AR_REPORTS has not been created. If I add

Code Command

M;X @AR_MENUS@AR_REPORTS;FLUSH AR_MENUS

I can view the AR_REPORTS and other reports again, but it shows up as a Main Menu rather than a pulldown menu.

Second question: Am I using the proper format, i.e. @AR_MENUS@AR_REPORTS, with an "@" in front of and behind the file name?

BTW, I had planned to placed these menu files in separate accounts, but for now they are all in the same accout.

Any additional assistance would be appreciated.


At 15 OCT 2001 10:08AM Tony Marler @ Prosolve Software UK wrote:

Frank

Make sure there is a space after @MYMENUTABLE@ and before the actual menu name. Otherwise should work ok.

Tony


At 16 OCT 2001 02:33PM Frank Adamo wrote:

I do have a space between the table name and the row., i.e. @MYMENU@ ABC, but I get the same problem, MENU NOT AVAILABLE.


At 17 OCT 2001 11:43AM Don Miller - C3 Inc. wrote:

Frank..

The M option behaves like RUNMENU in that it makes the menu passed a "top" level menu and not a sub-menu under another top menu.

Don


At 22 OCT 2001 01:25PM Frank Adamo wrote:

]]Make sure there is a space after @MYMENUTABLE@ and before the actual menu name. Otherwise should work ok«

I'm not sure why that should make a difference but I do have a space between the @@ filename and the menu name. I still can't get the secondary menus to be displayed more than one time. Also, this happens only when accessing menu options, not windows, popups, etc.


At 22 OCT 2001 03:42PM Victor Engel wrote:

I've never had to use a space. You should be able to call catalyst('M','@MENU_FILE@MENU_ITEM') or use M and @MENU_FILE@MENU_NAME as code and command anywhere code/command are used.

I seem to recall that the way menus are cached changed with Arev versions. What version are you using?


At 23 OCT 2001 02:42PM Frank Adamo wrote:

That's what I'm doing, with or without a space between the file name and the menu name. I've done this both from TCL, i.e. RUNMENU, and in the menu window.

I can press the arrow key to view each submenu once. As I return to the menu options a 2nd time, I get the following message:

Menu "INVOICES" has not been created and then if I try again, I get (Empty) if I click on the menu option. Again, this happens only with sub menus. If I access a window or a List Report, etc. it's fine. Only when the menu option is accessing a sub menu, do I get the above messages.


At 23 OCT 2001 02:48PM Frank Adamo wrote:

]]The M option behaves like RUNMENU in that it makes the menu passed a "top" level menu and not a sub-menu under another top menu.«

I'm not too clear on what you are saying. I understand that the M option behaves like a RUNMENU, but if the menu file is MENUS or SYSMENUS and one of the options is a secondary menu, the M or the RUNMENU option works fine. That is, if I do a RUNLIST, e.g. RUNMENU INVOICES or RUNMENU @MENUS@INVOICES, there is no problem.

Only when I used another file name, e.g. @AR_MENUS@INVOICES, do I get the error messages described earlier.


At 23 OCT 2001 03:49PM Bill Titus wrote:

Frank,

Does the problem persist if you simplify the code, command sequence to just M, @AR_MENUS@ AR_REPORTS?

Bill

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/c52ec6b6e9ac707885256ae300781db1.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1