Hello, I have a data type in my database as "text" because my values must be fractions. However, when I use the ORDER feature in my queries, it doesn't sort properly because of this. For example.... here is a list of "numbers" i have in my TEXT data type: 1 3 3 1/2 1 1/2 1/2 3/4 When I execute my query, with the ORDER DESC feature, it will display as such: 1 1/2 1 1/2 3 3 1/2 3/4 rather than: 1/2 3/4 1 1 1/2 3 3 1/2 I know I can just use decimals with a "number" data type, but I specifically need fractions. Suggestions for a solution?
A possible solution is to use 4 fields: - wholeNumber - Numerator - Denominator - RealNumber Store the calculated value in Realnumber and use it for Sorting and the others for display.