I think you were getting lucky before. For locate to work correctly you need to have a view ordered on the key columns. In this case:
vw=vw.ordered(3)


will fix the code quite nicely. The downside is that the keys need to come first in the view definition from highest precedence to lowest.

From my homegrown documentation:
*search, locate- *You should probably never use these directly unless you are certain that the property you are searching is ordered. When using mapping views the fast binary searches will occur automatically.


Brian


_____________________________________________ Metakit mailing list - [EMAIL PROTECTED] http://www.equi4.com/mailman/listinfo/metakit

Reply via email to