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 on another field

Status
Not open for further replies.

BlurredVision

Technical User
Aug 6, 2001
326
GB
I searched the forum without any luck. So, looking for a little help.

I have the following data:

FIELD1 FIELD2

IDK
FAC Primary
SLA
AKS
SLS Primary

I am looking to list out the data by it's name, with primary being first. I know I could group it by FIELD2 than by the FIELD1, but I would rather use a formula.

Thank you for any help given

BTW: CR XI on SQL 7 DB
 
So which field is the name field? How would you expect the above data to look?

-LB
 
Sorry about that.

The results should mirror the following. FIELD1 is the name field.

FIELD1 FIELD2

FAC PRIMARY
SLS PRIMARY
AKS
IDK
SLA
 
You just have to sort descending on field2.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top