PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WD8  sort a column in a table on the displayed name
WD8 sort a column in a table on the displayed name
Iniciado por Christine, 25,mar. 2005 10:06 - 2 respuestas
Publicado el 25,marzo 2005 - 10:06
WD8 - I have a table control based on a query.
In the tabel there is a field customernumber (combobox - item of the query) which is content tab is the table customers.
In this content tab i choose "customer name " to be displayed.
It works fine till i want to sort this field in alphabetic mode. When i click the column windev sorts the items but not on my "customer name". I think it is sorted on that customerNumber of the query ?
How can we sort it on the displayed item ?
Publicado el 25,marzo 2005 - 10:19
Hello Christine,
you can work with 'sqltotable(...)'. Then you get a memory_table. You can sort this table automaticly by click on all the colum_headers.
Christoph
WD8 - I have a table control based on a query.
In the tabel there is a field customernumber (combobox - item of the query) which is content tab is the table customers.
In this content tab i choose "customer name " to be displayed.
It works fine till i want to sort this field in alphabetic mode. When i click the column windev sorts the items but not on my "customer name". I think it is sorted on that customerNumber of the query ?
How can we sort it on the displayed item ?
Publicado el 25,marzo 2005 - 10:30
Thanks i will try this out.
Hello Christine,
you can work with 'sqltotable(...)'. Then you get a memory_table. You can sort this table automaticly by click on all the colum_headers.
Christoph