You can do this, but it is EXTREMELY messy and will significantly slow down the reindex process. IMO, you're better off having a dialog that lists each table and checks it off as it is reindexed.
>Hi All,
>
>I'm creating a form where I want to generate indexes in the tables of the system, I could find a progress Bar, but I can't achieve what I want.
>
>That progress bar executes having as a parameter the Recno(), in my case don't know any function or command that I could use with the INDEX command.
>
>The idea is:
>
>use orders excl
>pack
>index on num_invoice tag facturas
>Show Progress Bar while progressing with the index
>index on cod_cliente tag clientes
>Show Progress Bar while progressing with the index
>
>I don't know if any of you have some class that allows me to do what I want.
>
>I thank you in advance for the help.
>
>Regards,
>
>Rodolfo
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer