>This workes fine except I just noticed that when I add new records to the table they are not showing up in the indexes. I don't understand.
>
Terry, this sounds like a FoxPro bug (5.0) that I ran into.
In my situation I opened the table in the default session as NOUPDATE. Then I used a form with a private datasession to update the table. The changes were saved to the DBF file but the CDX file was not updated.
I solved my problem by removing the NOUPDATE option from the USE statement in the default DS.
HTH
Peter
Peter Robinson ** Rodes Design ** Virginia