Control for "detail of detail"

anna_kalligerou
Member Posts: 4
I need a control for screens with a "detail of detail". Any ideas??? Thanx in advance
0
Comments
-
Hi,
Wellcome to the forum...
Could you be mere specific on that "detail of detail" thing?0 -
You see I have a form that has the following structure:
Header
Detail
Detail of previous detail
Is that a liitle bit more clear?0 -
Make a Main-/Subform where the Subform is also a Main-/Subform.
Form A: Card form with a Subform control (Form
Form B: Table form with a subform control (Form C)
Form C: Table formTimo Lässer
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]0 -
Thanx, I will try it ASAP!0
-
Timo, what planet did you arrive from? :-)
This is not possible in Navision, has never been!0 -
<OffTopic>PrebenRasmussen wrote:Timo, what planet did you arrive from? :-)
[...]
</OffTopic>PrebenRasmussen wrote:[...]
This is not possible in Navision, has never been!Timo Lässer
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]0 -
he he... 8)
Glad that you understood the joke!0 -
It IS possible, just not comfortable.
1)You have to write a function to the subform that returns the primary key or any other data you need of the record.
2)Create a function in the second subform that issues a SETRANGE-FIND or GET from parameters it receives.
3) Create a button or menu item to the main form that calls the first function, and then call the function on the second form. A menu item is preferred because users will hate this solution, but at least you can assign a keyboard shortcut to the menu f.e. Ctrl+R as "refresh".
Do It Yourself is they key. Standard code might work - your code surely works.0 -
I guess this is the example you need:
Multiple Subform Sample -> uses Single-Instance Codeunit
New Multiple Subform Sample -> uses OnTimer-triggerNo support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0 -
My suggestion is that all these tricks are too complicated for users, they will get a big, confusing form.
My suggestion is: just use flowfields.
For example, you have a project form, where the header is the main data for the project and the lines are the phases. There would a COUNT flowfield for every line, that would say how many steps a give phase has. As the normal flowfield behaviour, this would bring the normal Drilldown field for your Steps table. From there also could be a drilldown to Tasks etc. ...
Do It Yourself is they key. Standard code might work - your code surely works.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K 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
- 320 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