You need to know that there is BIG difference between
Code:
Код:
SETFILTER(Field,'something');
and
Code:
Код:
SETFILTER(Field,'%1','something');
The first one apply 'something' as filter (plain filter), second one apply string 'something' like value you want to filter... Please, use first option just only if you have some filter saved in variable and you want to apply this filter. In other cases use the second option or use
Code:
Код:
SETRANGE(Field,Value);
if you are filtering for one value...