If the sort columns are specified on a DW level:
ls_Sort = <DW Control Name>.Describe("DataWindow.Table.Sort")
(You can use DWSyntax program that comes with PowerBuilder to look up more properties of the DataWindow Object).
If u want to know the sort columns of the Select statement of the DW:
<DW Control Name>.Describe("DataWindow.Table.Select")
but you have to find the "ORDER BY" clause manually.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.