Sorting data [message #1213404] |
Wed, 27 November 2013 08:15 |
Kosala Yapa Messages: 159 Registered: September 2010 |
Senior Member |
|
|
Hi there,
I have a table of records.
Column Category has, Head Modules, Modules and Back Planes.
I sorted the column Category for descending order. Then I get Modules, Head Modules, Back Planes in that order.
But I like to get records in the order, Head Modules, Modules, Back Planes.
How can I get records in this order?
Any help is appreciated.
Cheers,
|
|
|
Re: Sorting data [message #1219409 is a reply to message #1213404] |
Tue, 03 December 2013 17:10 |
|
In your dataSet, you could add a custom sort field as a computed column. You could give "Head Module" rows a value of 1, "Modules" rows a value of 2, and "Back Planes" rows a value of 3. Then, you can sort your table on this new field. Hope this helps.
Michael
Developer Evangelist, Silanis
|
|
|
Powered by
FUDForum. Page generated in 0.01758 seconds