I have a listbox that I need sorted and I am not sure how the best way would be. The problem is the format of the data that I need to sort. The data is in the form AAA-AAA-YY-MM-1234 where AAA is misc. letters, YY is the year, MM is the month, and 1234 is an identifying number. I need to sort the info by YY-MM-1234, with the year as the first sort order then MM as the second sort order and then 1234 as the final sort order. I figured I could use string manipulation to remove the first part of the number, store the info in a table and then query that table. When I use this # I will need to access the data stored in the original table. To do this, I would have to do some more string manipulation to find the matching record. Can anyone think of a query that can do this without the conversion/reconversion?
Thanks for your help
Thanks for your help