That bug is what caused me to come here Rick. The program is finding the key twice, and repeating logic that doesn't apply using a LOCATE and getting the wrong position.
-----Original Message----- From: Rick Nuckolls <r...@lynden.com> To: 'email@example.com' <firstname.lastname@example.org> Sent: Wed, Jun 6, 2012 11:49 am Subject: Re: [U2] Do indexes record mv pos ? The short answer is "no". The index does not contain the position within the ecord. You could, theoretically, create an index based on an itype that ontained that information, but it would be a whole lot simpler, and probably ore efficient to just LOCATE the value that you are looking for within the asic program that is accessing the index. Rick Nuckolls ynden Inc -----Original Message----- rom: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] n Behalf Of Wjhonson ent: Wednesday, June 06, 2012 11:37 AM o: email@example.com ubject: [U2] Do indexes record mv pos ? sing the CREATE-INDEX command you can create secondary indexes on files, and hen in BASIC using the SELECTINDEX command you can retrieve results into a list ariable so you can walk it with READNEXT Can you use a construct like EADNEXT KEY,MV FROM MYLIST ELSE.... That is, does the index itself retain the multi-value position into the nderlying primary record? r are all index entries key only without any knowledge of the multivalue osition ? _______________________________________________ 2-Users mailing list 2-us...@listserver.u2ug.org ttp://listserver.u2ug.org/mailman/listinfo/u2-users ______________________________________________ 2-Users mailing list 2-us...@listserver.u2ug.org ttp://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users