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. ](*,)
Sanjeev Kumar Dalela
Technical Consultant
(Dataman Computer Systems P Ltd.)
0
Comments
in OnAfterValidate trigger of your form control.
I have proved with a new function (the 2nd solution) but it doesn´t work.
Thank's!
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 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).
Regards
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:
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.