Moises,
In addition to what others have stated, you will need to likely have a way to switch between the different indexes as needed. After the index tags have been created, you would use:
Set Order to NameOfTag
wherever it was needed. You might even build it into the header of a grid column so that the user can change the order that the records in the grid are displayed. It could also be a dropdown list or simply coded into the Click of a button.
Renoir
>I have a table called clients.dbf and that
>table has a file called clients.cdx which
>index by name,street, etc...
>
> I use clients.dbf into a dataenviroment of a form
> The software has already been sent for many clients
>
> No a client wants also to index by city
>
> How can I programaticly alter the my clients' CDX file in order
> to also indexing by city ?