menubutton in the subform
                
                    mark_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
                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
0                
            Comments
- 
            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??
                        0 - 
            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... :?0
 - 
            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,
Mark0 - 
            mark_christs wrote: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".0 
Categories
- All Categories
 - 73 General
 - 73 Announcements
 - 66.7K Microsoft Dynamics NAV
 - 18.7K NAV Three Tier
 - 38.4K NAV/Navision Classic Client
 - 3.6K Navision Attain
 - 2.4K Navision Financials
 - 116 Navision DOS
 - 851 Navision e-Commerce
 - 1K NAV Tips & Tricks
 - 772 NAV Dutch speaking only
 - 617 NAV Courses, Exams & Certification
 - 2K Microsoft Dynamics-Other
 - 1.5K Dynamics AX
 - 323 Dynamics CRM
 - 111 Dynamics GP
 - 10 Dynamics SL
 - 1.5K Other
 - 990 SQL General
 - 383 SQL Performance
 - 34 SQL Tips & Tricks
 - 35 Design Patterns (General & Best Practices)
 - 1 Architectural Patterns
 - 10 Design Patterns
 - 5 Implementation Patterns
 - 53 3rd Party Products, Services & Events
 - 1.6K General
 - 1.1K General Chat
 - 1.6K Website
 - 83 Testing
 - 1.2K Download section
 - 23 How Tos section
 - 252 Feedback
 - 12 NAV TechDays 2013 Sessions
 - 13 NAV TechDays 2012 Sessions
 
