Page 1 of 1
Conditionally sort query results..
Posted: Wed Jul 16, 2014 11:38 am
by Russell Jarvis
I'd like to sort the results of a query by column X if a value is present in field Y and sort by the value in column Z if a value isn't present in field Y.
Is this possible?
(I know how to sort query results by a single column).
Thanks, Russ
Conditionally sort query results..
Posted: Wed Jul 16, 2014 12:09 pm
by Evgene Karachevtsev
Hello Russell,
Unfortunately you can't do this way, only by using js. You should get the whole answer, sort,and then use
Conditionally sort query results..
Posted: Wed Jul 16, 2014 1:27 pm
by Russell Jarvis
Hi Evgene, thanks for your answer. Is there a bit missing?
"get the whole answer, sort,and then use..." js??
Thanks
Conditionally sort query results..
Posted: Wed Jul 16, 2014 1:34 pm
by Evgene Karachevtsev
Russell,
Yes, you are right. "and then use JS".
Conditionally sort query results..
Posted: Wed Jul 16, 2014 1:35 pm
by Russell Jarvis
thanks