It looks like you're new here. Sign in or register to get started.
Function SetSomeFilter(ItxtSomeFilter AS text) SETFILTER("Some Field",ItxtSomeFilter);
CurrForm."My Subform".FORM.SetSomeFilter(txtSomeFilter);
deepblue wrote: Thank you Kriki! But it still a little problem. In the subform, I find a record that should not be there. When I click on it, it disappear ! Have you a solution please!! :-k Thank you!!!
Function SetSomeFilter(ItxtSomeFilter AS text) SETFILTER("Some Field",ItxtSomeFilter); CurrForm.UPDATE(FALSE);
Answers
You have to give your subform a name in the mainform.
In the "OnOpenForm" of the mainform, you need to put this:
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
But it still a little problem. In the subform, I find a record that should not be there. When I click on it, it disappear !
Have you a solution please!! :-k
Thank you!!!
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!