Page 1 of 1

Using Updown Column in a descending order

Posted: 2012-11-09 16:28
by franzandreani
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.

Re: Using Updown Column in a descending order

Posted: 2012-11-10 09:03
by franzandreani
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

Re: Using Updown Column in a descending order

Posted: 2012-11-10 22:14
by Fred
That is one to remember. I was going to use a totally different approach.

Nice one!!

Re: Using Updown Column in a descending order

Posted: 2012-11-11 18:21
by franzandreani
very gooed, so keep me posted !