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

Sorting a list box "numerically"

Status
Not open for further replies.

EMJULIAN

Programmer
Aug 14, 2002
45
US
I have a list box that gets populated with items that are characters but are numbered (i.e. "1-item a", "2-item b", etc.). The SORTED property on the list box puts them in order 1,10,11,2,3,4. Is there another way to sort a list box that will sort the numbers 1,2,3...10,11,12?

Thanks
Eve
 
Hi Eve,

Something similar to this may work for you:
SORT ON PADL(myfield,3,0)

Regards,

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top