Announcements
I am trying to find the right order here. I am using Rec.Setrange to exclude Blocked items, and also want to use item.setview to allow the user to use aditional filters.
it seems to me that setview is reversing prior setrange calls?
what is the right order here?
a)
Bonus:
how, and should
Items.SetFilter(Blocked, '%1', false);
be used here?
Hi, the following are two usage examples that hopefully give you some hints.
Thanks.
ZHU
Thank you Inge!
Also note to readers, check that you have "SetTableView()" AFTER Setrange and Setview, otherwise nothing works ;)
You can not use Setview if you want to retain the filters you have set before you use setview.
Setview will replace any prior filters you have set.
So the correct order will be A.
André Arnaud de Cal...
294,033
Super User 2025 Season 1
Martin Dráb
232,854
Most Valuable Professional
nmaenpaa
101,158
Moderator