Difference between revisions of "RemoveAllFilters"
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Data_Cache_Functions]] | [[Category:Data_Cache_Functions]] | ||
− | | + | {{HelpFiles}} |
=====removeAllFilters===== | =====removeAllFilters===== | ||
Line 20: | Line 20: | ||
'''Examples''' | '''Examples''' | ||
− | ''removeAllFilters()'' | + | ''addFilter("Sex == 1"); '' |
+ | |||
+ | ''addFilter("Age == 18"); '' | ||
+ | |||
+ | ''string a = dcGetFilterExpression(); '' | ||
+ | |||
+ | ''print(a); //(Sex == 1) && (Age == 18) '' | ||
+ | |||
+ | ''removeAllFilters();'' | ||
+ | |||
+ | ''a = dcGetFilterExpression(); '' | ||
+ | |||
+ | ''print(a); //Empty '' | ||
'''Availability''' | '''Availability''' |
Latest revision as of 10:23, 20 December 2011
removeAllFilters
Removes all filters added.
Syntax
removeAllFilters()
Arguments
N/A
Return type
empty
Examples
addFilter("Sex == 1");
addFilter("Age == 18");
string a = dcGetFilterExpression();
print(a); //(Sex == 1) && (Age == 18)
removeAllFilters();
a = dcGetFilterExpression();
print(a); //Empty
Availability
Version 5.5