Difference between revisions of "RemoveAllFilters"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Data_Cache_Functions]]

+
{{HelpFiles}}
  
====removeAllFilters====
+
=====removeAllFilters=====
  
remove all filter expressions.
+
Removes all filters added.
  
 
'''Syntax'''
 
'''Syntax'''
Line 12: Line 12:
 
'''Arguments'''
 
'''Arguments'''
  
none.
+
''N/A''
  
 
'''Return type'''
 
'''Return type'''
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'''
  
Version 5.4
+
Version 5.5
 
__NOTOC__
 
__NOTOC__
<!-- imported from file: 4251.htm-->
+
<!-- imported from file: 5207.htm-->

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