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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Put All at the top of the query results

Status
Not open for further replies.

Drenda

Programmer
Sep 1, 2007
85
GB
Can you please help - I have created a query which results in a list of munbers and "ALL" which I then use in a combo box on a form. My problem is that I would like "ALL" to be at the top of the list but, depending on the numbers in the query result, the ALL could be anywhere. I have tried ascending / descendin but with no luck

Any help would be appreciated

Thanks
 
you could also put a calculated column in the query to use for sorting. It won't be displayed, but have it say when column A = "All" then 1, etc.
You can then sort by that other column and that should put it at the top of the output.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top