>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