Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting a alphabetic field in non alphabetic order

Status
Not open for further replies.

HeatherK21

Programmer
Jun 11, 2003
2
US
I have a priority field of High, Medium, Low. I want to sort these in ascending order, but not by name, but by value. High, Medium and Low rather than High, Low, Medium. I am pretty new at this so please bare with me. Any help I can get will be greatly appreciated.
 
You could use letters A B C to represent High Medium Low, that seems simple enough but if you want the words then aHigh etc. would work
 
Create a calculated field to sort on:

SortP = If(priority = 'High',1,If(priority = 'Medium',2,3))

Sue Sloan
XpertSS.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top