I want to open a dbf file with its indexes. I do not see where I can specify the indexes and their order. I also need to know how I can change the actual index used for the sorting.
It is not very clear for us what you are trying to achieve
If you want to sort data in the grid you can just click on the filed header and it will be sorted for you.
Or you can use \"select * from tablename order by fieldname\"
I may modify fields in the table. if one of these fields in part of the index, normally the index file must be opened in order to allow the file to be updated with the new field value. So I need to specify these files to have them opened with the dbf table.
I have not event try to modify the field as I am using a clipper dbf file with ntx indexes. i know that the index has o e opened to be updated. I must a choice to indicate which files are used as index for the dbffile