|
It is sorted by ArAdaEJr and I want to do a %LookUp over KeyEJr. Does
the %LookUp perform a binary search? Or Apply the Ascend key over the subfields? %Lookup will do a binary search if the array is in sequence. By placing the Ascend keyword on the array you told it that it was indeed in sequence. Problem is being in sequence on ArAdaEJr doesn't mean that any of the subfields are in sequence. Either SORTA on the subfield you want or remove the Ascend keyword or duplicate the array entry and overlay any subfields you want to lookup against the non-sequenced version. It depends on _why_ you want to use lookup on a subfield - it doesn't appear to make a lot of sense since you can only locate one with that value that way. Jon Paris Partner400 www.Partner400.com
-----Original Message-----
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.