>OK, I will change the index, my question was how can I get the data directly from the index?
You can use KEY() function to retrieve index expression and EVAL(KEY()) to get value of the index key for current record. For example,
? KEY(TAGNO("mytag01"))
--sb--