Master page with detail list issue
spiky_golden
Member Posts: 44
Hello everyone,
I'm building a main page with the list of table objects and a sub page (part list) to list relation between table and company (Nav 2015). The Goal is to get a list of table to apply some work in different companies.
The problème I have, should be really simple to solve. I want to be able to fill the TableID field in my Part List with the ID of the selected object in the main page.
I've create a function (local = no) is the part list page to receive the id but the function is not accessible from the main page. In fact, if I use currPage."Part List Page" the compiler tells me that "Part List Page" is not a valid variable.
I did some research in the sales Order Page and sub page but can't find where they fill the "Document No." field of the sales line table. It should be pretty easy to do but I can't figure it out.
Can you please help me?
I'm building a main page with the list of table objects and a sub page (part list) to list relation between table and company (Nav 2015). The Goal is to get a list of table to apply some work in different companies.
The problème I have, should be really simple to solve. I want to be able to fill the TableID field in my Part List with the ID of the selected object in the main page.
I've create a function (local = no) is the part list page to receive the id but the function is not accessible from the main page. In fact, if I use currPage."Part List Page" the compiler tells me that "Part List Page" is not a valid variable.
I did some research in the sales Order Page and sub page but can't find where they fill the "Document No." field of the sales line table. It should be pretty easy to do but I can't figure it out.
Can you please help me?
0
Best Answer
-
In the main page where you have created an entry for the sub part make sure you have given the sub part control a name and then use CurrPage.SubPartName.PAGE.FunctionName5
Answers
-
In the main page where you have created an entry for the sub part make sure you have given the sub part control a name and then use CurrPage.SubPartName.PAGE.FunctionName5
-
It did the trick! I was missing le "Page" property

Thanks!0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions