Here is my problem, I'm just unsure how to create the query to do it, but I have a good idea.
example of the data field - E-16-1-2 , E-2-2-2, W-1-5-16
In an access table I have a list of coded location names that are alpha numeric with dashes, a list of probably ~1500. They are the locations of plants in a field. Now, it would be really helpful if they were sorted numerically, in a descending order, however, the way access sorts them is based off of the first character in line, since it's not a true number. therefore
E-16-1-1 will always show up before E-2-2-2 because the 1 is a lower number. I figured the best way to solve this would be to convert all of the single digit numbers to double digits, so that all of the E-1-1-1 turn out as E-01-01-01.
Is this the right way to approach my problem? How would I specify to add a zero in front of a single digit in between dashes?
example of the data field - E-16-1-2 , E-2-2-2, W-1-5-16
In an access table I have a list of coded location names that are alpha numeric with dashes, a list of probably ~1500. They are the locations of plants in a field. Now, it would be really helpful if they were sorted numerically, in a descending order, however, the way access sorts them is based off of the first character in line, since it's not a true number. therefore
E-16-1-1 will always show up before E-2-2-2 because the 1 is a lower number. I figured the best way to solve this would be to convert all of the single digit numbers to double digits, so that all of the E-1-1-1 turn out as E-01-01-01.
Is this the right way to approach my problem? How would I specify to add a zero in front of a single digit in between dashes?