Hi Cetin,
Thanks for the help. Either you are a mind reader or you have been following the train of thought of my messages...
Are you saying that I need to type in the tag for each column into the header.comment when I build the grid?
Thanks
>>How do I reference the controling order of a view in the DE from a grid header on a form?
>>
>>Like This.Parent.Parent ? ? ViewName.Order
>>
>>Thanks
>
order(this.parent.parent.recordsource)
Form might not have a DE or not necessarily as thisform.dataenvironment (might be thisform.myDataEnviroment). In any case IMHO order() would parctically be same as with the order property of cursor in DE. So IMHO, no need to browse DE.
>If you're getting this to set order in header.click :
>-Better save related tags to header.comment in grid.init.
>-Be sure to save recno() before changing order :
>save recno
>change order
>refresh grid
>go recno
>Cetin