Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

The Ascending property on the SORT gets lost – PB Docs 2022 – PowerBuilder Library

The Ascending property on the SORT gets lost – PB Docs 2022

The Ascending property on the SORT gets lost

Phenomenon

If you add an “Ascending” option to the SORT script, this option
gets lost.

Scenario

Do a SORT() to a DataWindow like follows:

This will return ls_sort = “COLUMN_NAME” without the “A” for
Ascending at the end.

Workaround

Use only lower case letters on the SORT condition. Like
follows:

This should return ls_sort = “column_name a” without loosing the
“A” for Ascending.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x