Sorting of Instancelist entries by Programmatic Identifiers on VLF-ONE

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
Taku Izumi
Posts: 16
Joined: Thu Dec 15, 2016 2:03 pm

Sorting of Instancelist entries by Programmatic Identifiers on VLF-ONE

Post by Taku Izumi » Fri Jan 11, 2019 6:59 pm

Hi,

In case of VLF-WIN, Instancelist entries is displayed after sorting by Programmatic Identifiers.

However, case of VLF-ONE, they are not sorted. And, I can not find a method as same as #AVLISTMANAGER.DisplaySorted of VLF-WIN.

So, Should I sort a working list using Sort_list command in a filter?

Regards,
Taku

TomC
Posts: 10
Joined: Thu Mar 10, 2016 10:01 am

Re: Sorting of Instancelist entries by Programmatic Identifiers on VLF-ONE

Post by TomC » Sat Jan 12, 2019 1:55 am

VLF-ONE does not provide this method. Instead you can access and sort the column object directly using logic like:

Set Com(#AVLISTMANAGER.InstanceListBrowser.VisualIDColumns<2>) Sortposition(1) Sortdirection(Ascending)

See shipped example DF_T3002O

Taku Izumi
Posts: 16
Joined: Thu Dec 15, 2016 2:03 pm

Re: Sorting of Instancelist entries by Programmatic Identifiers on VLF-ONE

Post by Taku Izumi » Tue Jan 15, 2019 9:22 pm

Hi,

Thank you for your help.
I'm going to try it.

Thanks,
Taku

Post Reply