Sorry for the delay in my answer. At weekend i have not connection.
That must works. In the init event of the form, or in the cursor init event or in the beforeopentables with dodefault().
Carlos.
>Kamal and Carlos,
>
>Help, I can't do it either way!
>
>I tried SET ORDER TO TAG DESC and when I run VFP says "Variable CALL_DATE does not exist". I believe it is because at that moment the table hasn't been opened yet. There is not unfortunately a "AfterOpenTables" event in the data environment.
>
>However, I also try Carlos' second technique, namely: "SET ORDER TO TAG DESC IN " in the form init, and that time I seem to lose the child data in the grid.
>
>The darned thing thing I was able to do it once, but made some changes and lost my way.
Saludos,
A.G.P.
---------