The short answer is "no". The index does not contain the position within the record. You could, theoretically, create an index based on an itype that contained that information, but it would be a whole lot simpler, and probably more efficient to just LOCATE the value that you are looking for within the basic program that is accessing the index.
Rick Nuckolls Lynden Inc -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Wednesday, June 06, 2012 11:37 AM To: u2-users@listserver.u2ug.org Subject: [U2] Do indexes record mv pos ? Using the CREATE-INDEX command you can create secondary indexes on files, and then in BASIC using the SELECTINDEX command you can retrieve results into a list variable so you can walk it with READNEXT Can you use a construct like READNEXT KEY,MV FROM MYLIST ELSE.... That is, does the index itself retain the multi-value position into the underlying primary record? Or are all index entries key only without any knowledge of the multivalue position ? _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users