Difference between revisions of "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