by patrick » Mon Sep 19, 2011 9:10 am
Rob,
I was aware of that, but I don't think it does what I need.
I have a relation e.g. customer_to_orders. I allow the user to perform a find in that (e.g. filter by product). In my UI I remember what was filtered for what customer ID using form variables.
Now I think that Servoy "caches" these foundsets. So if the user selects customer A, filters the relation, goes to customer B and back to customer A, the relation for customer A will still be filtered. But: at some point in time I guess, these foundsets are no longer cached but reloaded. Then my filter is gone, but my UI still thinks it's filtered.
So my question is: can I find out not if a foundset IS in find, but has been filtered or not. I want to know if the related foundset is the "original" related foundset or further filtered by a find()/search().
You understand what I mean?
Something like: foundset.isFiltered(). This could also be useful for a non-related foundset. A way to find out if a find() has been performed or not.
Patrick Ruhsert
Servoy DACH