Difference between revisions of "RemoveFilter"
(jrfconvert import) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:Data_Cache_Functions]] |
− | | + | {{HelpFiles}} |
====removeFilter==== | ====removeFilter==== | ||
Line 19: | Line 19: | ||
'''Examples''' | '''Examples''' | ||
+ | |||
+ | ''addFilter("Sex == 1"); '' | ||
+ | |||
+ | ''addFilter("Age == 18"); '' | ||
+ | |||
+ | ''string a = dcGetFilterExpression(); '' | ||
+ | |||
+ | ''print(a); //(Sex == 1) && (Age == 18) '' | ||
''removeFilter(1); '' | ''removeFilter(1); '' | ||
+ | |||
+ | ''a = dcGetFilterExpression(); '' | ||
+ | |||
+ | ''print(a); //(Age == 18) '' | ||
'''Availability''' | '''Availability''' |
Latest revision as of 10:21, 20 December 2011
removeFilter
Remove a filter expression from filter expression list.
Syntax
removeFilter(filterIndex)
Arguments
filterIndex: Is a numeric (non-decimal) expression.
Return type
empty
Examples
addFilter("Sex == 1");
addFilter("Age == 18");
string a = dcGetFilterExpression();
print(a); //(Sex == 1) && (Age == 18)
removeFilter(1);
a = dcGetFilterExpression();
print(a); //(Age == 18)
Availability
Version 5.4