I use this to clear the filter.

PROPERTY EnhancedDBGrid2  CLEARFILTER 'TRUE'

Dan Goldberg


-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of 
[email protected]
Sent: Tuesday, December 22, 2020 11:15 AM
To: [email protected]
Subject: [RBASE-L] - Resetting filters on enhance DBGrid

I have an Enhanced DBGrid and I can set filters for a specific column...

PROPERTY vciFeaturesBase FILTERS->COLUMN_NAME->CouncilDistNo '1'

and I can also clear them using a Speed Button with following code:

PROPERTY vciFeaturesBase FILTERS->COLUMN_NAME->CouncilDistNo->CLEAR_ITEMS TRUE

However, the user can also add additional filters by using the filter row so we 
can have more than one filter set at any one time. I need to know if there is a 
command that will clear all the filters with one command since I don't know 
which filters are set. I have tried:

PROPERTY vciFeaturesBase FILTERS->CLEAR_ITEMS TRUE

But it does not seem to work. I am sure there is one command that clears all 
filters with one command but I cannot figure out what it is...

Javier,

Javier Valencia, PE
[email protected]
O: 913-829-0888
C: 913-915-3137

.

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/!%26!AAAAAAAAAAAYAAAAAAAAAO1ueGVb5zRMiwo7hebUe7jCgAAAEAAAAApULYtP8Z9Ngy4fUQzDibsBAAAAAA%3D%3D%40vtgonline.com.

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/2E4830CEC16615458329D3D83342F8D0014E77B23D%40exchange11.

Reply via email to