PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WD19 Type of Sort parameter in Query
WD19 Type of Sort parameter in Query
Iniciado por guest, 22,abr. 2015 17:48 - 2 respuestas
Publicado el 22,abril 2015 - 17:48
Hi

Can somebody please tell me how to programattically change the sort order in a query?

I have a sortby parameter and need to change the order to descending / ascending depending on the order chosen by the user.
i have tried the help but am not getting the right pages.



Thanks
Noel
Publicado el 22,abril 2015 - 19:42
Hi Noel,

In your "sort by" parameter, also add the ASC or DESC value as you want. It will take precedence on the value in the query.

<a class="ExternalLink" rel="nofollow" target="_blank" href="http://doc.windev.com/en-US/?2034003#use_format_ELTPARAGRAPHE000107">http://doc.windev.com/en-US/&hellip;</a>

Best regards,
Alexandre Leclerc
Publicado el 23,abril 2015 - 10:42
Hi Alexandre

Thanks for the reply

good day & regards

Noel