>Hi!
>Can I sort the browse window by double clicking the field header at the top. Like windows explorer does.
>
>I notice even in foxpro you cannot sort on the browse.
>You would think you would be able to.??
>
>
>Now I use something like.
> BROWSE TITLE 'Test' ;
> NORMAL ;
> LAST ;
> NOEDIT ;
> NODELETE ;
> NOAPPEND ;
> REST
>To browse which works is there an option I can add.
>
>I know I could make a form to use instead of the browse window
>but I am asking generally.
>
>If I type browse from the command windows can I not sort on a column
>by double clicking????
>
>
>Thanks
Firstly, you should use grid instead of browse. Using grid you will have Grid.Column.Header.Dblclick event to put your code (actually SET ORDER TO ...) to accomplish what you expect to get. Working from Command Window, you can alwaus fire SET ORDER from there.
Edward Pikman
Independent Consultant