Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
in my example you see left a listbox and on the right there is a tablebox. In this tablebox I have the sorting order for ID based in the obj! How can I do this for the listbox ID?
Thank you
Not so sure about which requirement you have. What do you want to do?
The ID Listbox should have the same sort like the table. Sorting für ID based on Obj...
It is the same sorting.
Do you want to do it automatically? If the user changes the sort order of the table, resort the listbox?
In the listbox is...
ID: 1, 2, 3, 4, 5
In the table is...
ID: 1, 3, 2, 4, 5
I want the sorting from the table, which based on Obj in the listbox as well.
You can do the sorting in script.
temp:
LOAD * INLINE [
ID, Obj, Amount
1, A, 10
2, B, 10
3, A, 10
4, B, 10
5, B, 10
];
table:
NoConcatenate LOAD *
Resident temp Order by Obj asc;
Drop Table temp;
You need only to change the order of columns within the sorting-tab from the tablebox.
Try changing start order to
match(Obj,'A','B')
instead of Only(Obj)