Difference between revisions of "RemoveAllFilters-Filter functions"
Cg huyphong (talk | contribs) |
|||
Line 1: | Line 1: | ||
− | + | {{HelpFiles}} | |
− | {{HelpFiles}} | ||
− | =====removeAllFilters===== | + | ===== removeAllFilters ===== |
− | Removes all filters added. | + | Removes all filters added. |
− | '''Syntax''' | + | '''Syntax''' |
− | removeAllFilters() | + | removeAllFilters() |
− | '''Arguments''' | + | '''Arguments''' |
− | ''N/A'' | + | ''N/A'' |
− | '''Return type''' | + | '''Return type''' |
− | empty | + | empty |
− | '''Examples''' | + | '''Examples''' |
− | '' | + | ''addFilter("Sex == 1");'' |
− | '' | + | ''addFilter("Age == 18");'' |
− | Version 5.5 | + | ''string a = dcGetFilterExpression();'' |
− | __NOTOC__ | + | |
− | <!-- imported from file: 5207.htm--> | + | ''print(a); //(Sex == 1) && (Age == 18) '' |
+ | |||
+ | ''removeAllFilters();'' | ||
+ | |||
+ | ''a = dcGetFilterExpression();'' | ||
+ | |||
+ | ''print(a); //Result: Empty'' | ||
+ | |||
+ | '''Availability''' | ||
+ | |||
+ | Version 5.5 __NOTOC__ <!-- imported from file: 5207.htm--> | ||
+ | |||
+ | [[Category:Filter_functions]] |
Latest revision as of 12:48, 26 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); //Result: Empty
Availability
Version 5.5