Dear All,
Suppose we apply two filters
rec.setrange(field1,fieldref);//line 1
rec.setrange(field2.fieldref);//line 2
How to disable filter for line 2 by C/AL.
Note-Please suggest the best solution for the above.
Dear All,
Suppose we apply two filters
rec.setrange(field1,fieldref);//line 1
rec.setrange(field2.fieldref);//line 2
How to disable filter for line 2 by C/AL.
Note-Please suggest the best solution for the above.
Don't clear the record. Just do what other suggested. If you don't put any value, it will clear the filter.
rec.setrange(field2);
If we clear record then all filters will clear please suggest the another solutions
Hi, try this.
Set: SETRANGE(Field,From,To)
Clear: SETRANGE(Field)
Hope this will help.
Thanks.
ZHU
Just write
rec.setrange(field2)
This will remove the filter.
André Arnaud de Cal... 291,419 Super User 2024 Season 2
Martin Dráb 230,492 Most Valuable Professional
nmaenpaa 101,156