Good morning,
I take this thread to ask something because this is just my problem.
I have done the following:
In the form header insert an item, when does the OnValidate the head table, I inserted lines in all its bill of materials (not exactly like that but would be an example for you to understand) but instead of updating all lines, I just updated the latest and until I click on the subform does not appear to me all.
I have the following:
OnValidate main form field -> CurrForm.MySubform.FORM.UpdateSubform
In the subform -> I do function... called UpdateSubform and i write -> CurrForm.UPDATE;
When I do the validate the header only shows me the last record of the line, then I click on the lines and I get all.
0
Comments
CurrForm.UPDATEFORM in the header?
"I'm worse at what I do best
And for this gift I feel blessed
Our little group has always been
And always will until the end"
Nirvana - Nevermind - Smells Like Teen Spirit
Try This,
Put these line of code On OnAfterValidate Event.
CurrForm.UPDATE(FALSE);
CurrForm.UPDATECONTROLS;
Hope This will Solve Ur Problem.
Thanks & Regards,
Purvesh Maisuria.
The problem was with a property of the subform... The property "MultipleNewLines" was in NO and i have changed to YES and it works perfectly... x-files... :?