Sort by a value

AndyShuter

Registered User.
Local time
Today, 22:10
Joined
Mar 3, 2003
Messages
151
I was just wondering if it was possible to run a query by a specific value first, then the remainder of the following values in ascending order.

For example, the data would appear in the table as

Smith
Bloggs
Jones
Taylor

What I would like to do is have all the Taylors at the top, followed by Bloggs,Jones then Taylor

I have looked at the OrderBy function, but believe that you can only sort Ascending and Descending

Checked search, cant find anything

Many Thanks

Andy
 
The only way to do this is by adding an order field that contains a numerical sort value. Then sorting on that field.
 
Not sure I understand ..... you want the Taylors at the top and then show also in the alpha listing at the bottom again ( in this case cuz it's the last in alpha order ).

QT :confused:
 

Users who are viewing this thread

Back
Top Bottom