Problem Subform

Ronaldo1985
Member Posts: 6
Very good to everyone!
I have a problem I would like to know if there is any solution, I mean
I have a form that pulls from a table 'X' in this form Subform I have two more, the first strip of the table "Sales Header" which is related to table 'X', So far so fantastic! the problem is with the second subform I have referred to the table "Sales-line, this want to show all lines that refer sales to current record of the first Subform (Sales Header), I get this from the OnTimer event , but this is one heck, it works but .... I can not change the lines of the second Subform because before you insert anything directly OnValidate me I try to fill in the field and gives me error ....
I hope I explained clearly, many thanks in advance.
I have a problem I would like to know if there is any solution, I mean
I have a form that pulls from a table 'X' in this form Subform I have two more, the first strip of the table "Sales Header" which is related to table 'X', So far so fantastic! the problem is with the second subform I have referred to the table "Sales-line, this want to show all lines that refer sales to current record of the first Subform (Sales Header), I get this from the OnTimer event , but this is one heck, it works but .... I can not change the lines of the second Subform because before you insert anything directly OnValidate me I try to fill in the field and gives me error ....
I hope I explained clearly, many thanks in advance.
0
Comments
-
Hi,
If I understand you correctly, you have a form with at least 2 subforms. And you want to update the data visible in the second subform based on the selected, current record in the first subform.
This is possible, I have done it before. I use the XML trick. When you select a record in the first subform it will trigger the event on the main form. The main form can then update the second subform.
take a look at this post:
http://www.mibuso.com/forum/viewtopic.php?t=22564&highlight=
or this one
http://www.mibuso.com/forum/viewtopic.php?f=23&t=41219&hilit=XML
I hope this helps,
Regards,
WillyFostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.0 -
Thanks you!!!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