menubutton in the subform

mark_christsmark_christs Member Posts: 156
Dear All,
I created a form, for example form A, consists of subform and tab controls. In the tab control, I placed some subforms.
The subforms link to new forms that I created alone but all are using the same sourcetable.
I created menubutton and commandbutton in one of the form and the form is used in a subform. I set it in one of the subformID. But when I am running the form A, and then go to the tab, click the menubutton, but the menubutton is not work properly.Is there any other way how to create and activate a menubutton of subform placed in the tab control ?
I see that most of subforms didn't attached to a tab control, but I think it will be possible to do what I want. Any replies and answers will be thankful.


Rgds,
Mark

Comments

  • bestianhowbestianhow Member Posts: 120
    Hi Mark,
    Is it you put the menu button and command button at subform??
    I have tried before, it is working fine..
    Can you describe more detail??


    :)
  • kinekine Member Posts: 12,562
    Please, try to not use buttons on subforms... do it in a standard way - add the button on the main form and call functions of the subform to work with selected lines etc... :?
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • mark_christsmark_christs Member Posts: 156
    Dear Kine; all,
    Thanks for your answ. You are right. I thought it's easy :? and I don't need some codes for that, although I have created a command button and it works good but when it's a menubutton, only a certain caption works good. , For example like a subform consists of a form whose source table is date, it's really difficult, and so do comments, qlty measures, tools and personnel. If I want to add them in the menubutton of my subform, I can't define them per each line of form when running it. Could you answer how to make them work and their codes ? [-o< ](*,)


    Rgds,
    Mark
  • kinekine Member Posts: 12,562
    Dear Kine; all,
    For example like a subform consists of a form whose source table is date, it's really difficult, and so do comments, qlty measures, tools and personnel. If I want to add them in the menubutton of my subform, I can't define them per each line of form when running it. Could you answer how to make them work and their codes ? [-o< ](*,)

    Rgds,
    Mark

    Sorry, I do not understand what you want to do... (may be because Friday ;-))

    I just only catch that you have Form-subform - both with source table "Date".
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.