[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Searching an Array?



Phil,
   I left out one major detail... the array needs to be SORTED in order
for any non-sequential search to work properly... My example has the
array already in ascending order 0001 to 1000... You can load the array
in order from SQL Tables with Order BY or if you are loading from an
unsorted flat file you can use a simple array sort (Scroll up through
User Group to see Sorting Arrays)...

    -Tony DeLia


Phil Roell wrote:
>
> Does anyone know if one can search an array that is created in the program in the
> same manner that one can search an array that is loaded via the load-lookup command?
>
> Any insight would be of great help.
>
> Thanks,
>
> Phil

--
Tony DeLia
AnswerThink Consulting Group
PeopleSoft Solutions Practice - Delphi Partners
tdelia@erols.com