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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,554 Super User 2024 Season 2
Martin Dráb 228,588 Most Valuable Professional
nmaenpaa 101,148