Subforms and parameters passing issue

poppins
Member Posts: 647
Hi everyone,
I have got the following problems: I have two main forms(with a subform control each).
I need to do the following: when I do a lookup in the subform 1(from the main form 1) I display main form 2....There is a parameter being calculated in subform 2 and displayed in main form 2...this parameter needs parameters form subform 1...
How can I transfer the parameters between the two subforms and get the result displayed whenever I do a lookup????
I hope I explained it clearly :oops: :oops:
I have got the following problems: I have two main forms(with a subform control each).
I need to do the following: when I do a lookup in the subform 1(from the main form 1) I display main form 2....There is a parameter being calculated in subform 2 and displayed in main form 2...this parameter needs parameters form subform 1...
How can I transfer the parameters between the two subforms and get the result displayed whenever I do a lookup????
I hope I explained it clearly :oops: :oops:
0
Comments
-
I'm quite sure you will get a lot of suggestions to re-design the solution, but almost everything is possible in Classic NAV 8)
Have you considered using a Single Instance codeunit as a placeholder for the parameters and the OnTimer trigger on form 2 to fetch them?Regards
Peter0 -
0
-
[Topic moved from 'NAV Three Tier' forum to 'NAV/Navision Classic Client' forum]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
pdj wrote:I'm quite sure you will get a lot of suggestions to re-design the solution, but almost everything is possible in Classic NAV 8)
Have you considered using a Single Instance codeunit as a placeholder for the parameters and the OnTimer trigger on form 2 to fetch them?
In fact, I am facing this problem because I have already redisigned two matix forms(each one is consisting now on a main form and a tabular subform) and one of them calls the other ](*,)
Now I can transform my two forms into pages but I can't make them communicate correctly0 -
In fact, I need to pass data from subform 1 to main form 2 and then from main from 2 to subform 2....
Is that possible???? :-?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