Using Updown Column in a descending order

franzandreani
Posts: 13
Joined: 2012-08-04 16:37

Using Updown Column in a descending order

Post by franzandreani » 2012-11-09 16:28

Hello all, i Often use the move UpDown column but creating the Dynamic List the default order is always ASC so the last record I insert is at the bottom of the list. is it possible to make the default order descending in the Dynamic List? Thank You.
Franz Andreani

franzandreani
Posts: 13
Joined: 2012-08-04 16:37

Re: Using Updown Column in a descending order

Post by franzandreani » 2012-11-10 09:03

Perhaps is very simple i just added the verb DESC to the default variable declaration

Code: Select all

$tso_listrceven2->setDefault("rceven.ordine DESC");
where rceven is the recordset name and ordine is the column name
i hope it'll be helpful
Franz Andreani

User avatar
Fred
Site Admin
Posts: 491
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: Using Updown Column in a descending order

Post by Fred » 2012-11-10 22:14

That is one to remember. I was going to use a totally different approach.

Nice one!!

franzandreani
Posts: 13
Joined: 2012-08-04 16:37

Re: Using Updown Column in a descending order

Post by franzandreani » 2012-11-11 18:21

very gooed, so keep me posted !
Franz Andreani

Post Reply