CPB Mailing List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Filter and Filtered properties



The behaviour of Filter and Filtered properties seems strange to me.
Consider this:

db->Filter = "Filed1=2";	// Filter 1 is added and activated
db->Filtered = false;          // Filter 1 is deactivated, NOT dropped
db->Filter = "Field1=1";     // Filter 2 is added and NOT acivated.  		    
                      // BUT Filter1 IS NOT DROPPED!!!
db->Filtered=true;             // Filter2 is activated. 

Now, where is the handle for Filter1? I believe it's lost.

The problem is: having that done, how do I access Filter 1?
Can I do that at all?  
I believe that it is a bug: a memory leakage.
I've seen it because my program is supposed to run without stopping for
months.



W Komornicki's Home Page | Main Index | Thread Index