Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datawindow Sort

Status
Not open for further replies.

tinac99

Programmer
Jan 17, 2002
58
0
0
US
Hi,

Is there any way I can determine the current sort columns in the datawindow at runtime? I'm using Powerbuilder 6.5.

Thanks,

Christina
 
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.


[bomb]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top