The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Multiple LookupPreFilters on same PropertyName
Posted: 28 Jul 09 11:52 AM
|
We have a lookup on the Competitor entity wherein we want to limit the results to just those competitors that are local to the logged-in-user or national. Our approach is to add LookupPreFilter objects to the LookupControl's collection of LookupPreFilters. The problem we need help resolving is that LookupPreFilters appear to be mutually exclusive such that if you add more than one prefilter for the same property it will apply them all as ANDed, like this: Locality="3066" AND Locality="NATL" - since no Competitors have both values (and never could) the lookup returns no results.
Is there a way to apply an "OR" condition to the prefilters? There is a property on the LookupPreFilter object named CondOperator but we can't find documentation on what that property does or the values it accepts.
Does anyone know how to handle this?
Thanks, Doug
|
|
|
| |
| |
| |
| |
|