Menusuite

jmlozaresjmlozares Member Posts: 110
seems i'm in trouble... :shock:

I've created an application that would run three different applications. Those three different application would run using one common form object. The behavior of the application would depend on the application mode to be set explicitly in the program.

I've created three items in the menusuite pointing to that particular form object. Is there a way for me to explicitly call the procedure inside this form object that will set the mode of my application?

:?:

regards to all!
Janderol Lozares Jr.
Manila, Phils.

Comments

  • krikikriki Member, Moderator Posts: 9,118
    1) You should create 3 codeunits to call the form in 3 different ways.
    2) You can ask the user by way of a STRMENU in the "OnOpenForm"-trigger.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • jmlozaresjmlozares Member Posts: 110
    Thanks for the reply!

    I've thought of same solution already, but, is there a less expensive way to solve it?

    regards!
    Janderol Lozares Jr.
    Manila, Phils.
  • Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    No, this is the only solution.

    And a codeunit is not expensive is it? It only costs a few euro's. It is not a table...
  • jmlozaresjmlozares Member Posts: 110
    for the mean time I'll take that advice.. :)

    Thanks to you both!


    regards!
    Janderol Lozares Jr.
    Manila, Phils.
  • krikikriki Member, Moderator Posts: 9,118
    No, this is the only solution.

    And a codeunit is not expensive is it? It only costs a few euro's. It is not a table...
    It takes also more time to program it, install it, maintain it. Also this costs.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.