FilterGroup

How SHOWALL button is disabled while using FILTERGROUP? Thx.

Hi, Only filters set in FILTERGROUP(0) will be cleared when pressing SHOWALL-button. (as I recall, flowfilters wil not be cleared either). As a default, filters are set in FILTERGROUP(0); e.g. SETFILTER(field1,filter1); FILTERGROUP(2); SETFILTER(field2,filter2); FILTERGROUP(0); When the user presses SHOWALL, only the filter set on field1 is cleared. regards Alexander

quote:

e.g. SETFILTER(field1,filter1); FILTERGROUP(2); SETFILTER(field2,filter2); FILTERGROUP(0);
Originally posted by sander7 - 2005 Jan 31 : 10:34:34

The line FILTERGROUP(0); is particularly important. If you don’t reset the FILTERGROUP to 0, the User will be able to see whatever filters are set on the last used FILTERGROUP - in this case 2.