Denis:
thisform.cmdatamanager.setorder(cOrder, cWorkarea)
Remember that from the form, the link back to the CDE is usually through the datamanger.
HTH
-=Gary
>CodeMine 7.0 RC2
>
>In the CDE I defined the indexes for my view
>
>Now how do I set the order when the user click the header in a grid.
>
>I know it's in click event but how di I specify the tag? (because it has to be taken from the cde)
-=Gary