How update Subform Controls

sanjeevdalela
Member Posts: 45
Dear friends,
I Inserted Some Entries in Line Table on Header Form one Control Validate
and call Currform.UpdateControls
But my Inserted Entries Not Show.
When I click in sub Form & Mouse Scroll then my Entries Comes
So Please give me solution for Sub Form update. ](*,)
I Inserted Some Entries in Line Table on Header Form one Control Validate
and call Currform.UpdateControls
But my Inserted Entries Not Show.
When I click in sub Form & Mouse Scroll then my Entries Comes
So Please give me solution for Sub Form update. ](*,)
Sanjeev Kumar Dalela
Technical Consultant
(Dataman Computer Systems P Ltd.)
Technical Consultant
(Dataman Computer Systems P Ltd.)
0
Comments
-
You cand do a
CurrForm.UPDATE(FALSE);
in OnAfterValidate trigger of your form control.//Bogdan0 -
You should create a function ( e.g. UpdateFromParent) in subform object with simple command Currform.UPDTAECONTROLS and call this function from trigger from main form via named subform control (e.g. SubForm.UpdateFromParent).0
-
Hi, I have exactly the same question. Please, help me!!!
I have proved with a new function (the 2nd solution) but it doesn´t work.
Thank's!0 -
Here a very simple example:
Take a look in Form 42 (Sales Order). There is the Subform with the name SalesLines (Object 46 Sales Order Subform).
In the Form 46 there is a Function like UpdateForm(). These function are called from the Mainform (Form 42) like following:CurrForm.SalesLines.UpdateForm(Paramater);
CurrForm is the Current Form from where you come (here form 42)
SalesLines is the name of the subform in form 42. To call a funtion in a subform, the subform must have a name (Property)
UpdateForm is a function in form 46 (the subform).
RegardsDo you make it right, it works too!0 -
Finally the problem was some Filters...but thank you!
Anyway, could I update a form that is the father from his child form?
Example:
I have the f50000 with a textfield called "Nu" and a button called "make new product".
If I push the button (from the f50000) the f50001 opens.
I make a new product in the form f50001 and when I close it I see again f50000 (It never was closed). But I want that in the form f50000 appears in the textfield "Nu" the number of the new product.
Both forms comes from T50000.
:roll:0 -
-
Thank's a lot!!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