... it should work with 17.09 also. But as we can see from your code, autosort should not work either with 12.04 or 17.09. Even assuming the DBF is indexed on all fields, how do you expect XBrowse to know which Index is to be used for which columnn? In the above code, we should add the clause SORT ...