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

sorting by number

Status
Not open for further replies.

mcpeekj

Vendor
Sep 21, 2001
105
i got help with formatting currency and numbers, but how do i get it so that 104,000 doesn't come before 114,000??? it sorts by the first digit but i want it to recognize where it really belongs...
 
Once it's formatted it can't be considered as integer. You need to sort first then format somehow.
 
at the end of your SELECT statement put Order by number_table"

then before you write it the page format the value to whatever.

www.vzio.com
star.gif

star.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top