I am making a search on a database through a query. After the results are displayed I would like them to always be displayed in alphabetical order by the last name. Does anyone know how to do this? I would greatly appreciate it!
In your query you should use Order By last_name and your recorset will be sorted alphabetically; by default -- ascending (a,b,c,d,etc).
If you put desc after the last_name it will be sorted descending(z,y,x,etc).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.