J
Joe Bonifazi
I asked this question twice before with no responses.
Here is the "solution" I finally came up with, but it still leaves one
undesired effect.
Problem:
I use the "Filter" function a lot! In each of my folders, the filter
remains in effect until I open the filter dialog box again, select "Clear
All" and "OK" buttons. That's 3 clicks, too many for me. Yes - I really am
that lazy.
Further problem:
I wrote some code - using information I gathered in this forum - Thank you.
I used MSXML2 .DOMDocument30, loaded the XML from the current view ( with
the filter set ) and then set the filter string to NULL. This did NOT clear
the filter every time. Which made it a worse problem - because it did work
some of the time.
Current Status:
I not set the filter to "0" - it really doesn't matter too much - I could
set it to one. Now all mail items are shown ( un-filterd) but in the top
right corner of my view it still says "(Filter Applied)".
When I open the filter dialog window, I get the SQL tab with a "0" in it,
which is not a valid statement, so I must clear it.
How can I correctly clear the filter on the view?
My suspicion is that I must delete the XML Filter token all together, and
not just set it to NULL or "0" -- How can I do this?
ANY reply would be appreciated.
Here is the "solution" I finally came up with, but it still leaves one
undesired effect.
Problem:
I use the "Filter" function a lot! In each of my folders, the filter
remains in effect until I open the filter dialog box again, select "Clear
All" and "OK" buttons. That's 3 clicks, too many for me. Yes - I really am
that lazy.
Further problem:
I wrote some code - using information I gathered in this forum - Thank you.
I used MSXML2 .DOMDocument30, loaded the XML from the current view ( with
the filter set ) and then set the filter string to NULL. This did NOT clear
the filter every time. Which made it a worse problem - because it did work
some of the time.
Current Status:
I not set the filter to "0" - it really doesn't matter too much - I could
set it to one. Now all mail items are shown ( un-filterd) but in the top
right corner of my view it still says "(Filter Applied)".
When I open the filter dialog window, I get the SQL tab with a "0" in it,
which is not a valid statement, so I must clear it.
How can I correctly clear the filter on the view?
My suspicion is that I must delete the XML Filter token all together, and
not just set it to NULL or "0" -- How can I do this?
ANY reply would be appreciated.