Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Automatically sort list view form by date (descending)

Questions related to using nuBuilder Forte.
Post Reply
Olikun
Posts: 68
Joined: Tue Mar 09, 2021 6:45 pm

Automatically sort list view form by date (descending)

Unread post by Olikun »

Hello,

a new question.

How can I set it up so that the list view of the form is automatically sorted.

I only have 1 line (date) in the list

I want the current date to be at the top.

I know I can sort the list manually with one click, but I want it to happen automatically.

Is that possible?


Image
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 446 times
Contact:

Re: Automatically sort list view form by date (descending)

Unread post by kev1n »

Add an ORDER BY your_date_column DESC in the Browse SQL

Code: Select all

SELECT * FROM your_table ORDER BY your_date_column DESC
Olikun
Posts: 68
Joined: Tue Mar 09, 2021 6:45 pm

Re: Automatically sort list view form by date (descending)

Unread post by Olikun »

works perfect

thanks :D
Post Reply