Looks like it's incomplete code. Wher is the action? :)
>Here's my code to resequence my table that is inside of a .PRG program:
>
>************************
>* Resequence Help file *
>************************
>helpfiledbf = "c:\datadict\masthelp.dbf"
>USE (helpfiledbf) IN 0 SHARED
>SELECT masthelp
>SET ORDER TO contextid
>SELECT masthelp
>USE
>
>
>If I do this same set of commands in the command window, it works fine!
>What could be wrong? Thanks for helping.
--sb--