T
Tony
Hi All,
I've got some continuous forms that display information such as: itemName,
itemPrice, itemSize. On each form, when the user clicks the column heading,
the records will sort either ascending or descending, depending on what the
current sort is. For example, if the the current sort is itemName when the
user clicks the itemName heading the sort is changed to itemName DESC.
Everything works. However, when I get to itemSize, things fall apart
because the sizes are in English units (inches & feet), with a sampling like
this:
1-1/2"
6"
10"
If I apply my current sort method and sort by itemSize, the 6" item falls to
the end of the list since the entries are text (they have to be this way
because itemSize units can be inches, feet, or a combination of both).
I imagine that I could add another column to my table that holds a
conversion of the feet/inces to a decimal, add it as a hidden column on the
form, then use it for sorting. But, I'm wondering if anyone run into this
issue and if so, do you have any tips you can share as to how you addressed
it?
Thanks & Ciao
I've got some continuous forms that display information such as: itemName,
itemPrice, itemSize. On each form, when the user clicks the column heading,
the records will sort either ascending or descending, depending on what the
current sort is. For example, if the the current sort is itemName when the
user clicks the itemName heading the sort is changed to itemName DESC.
Everything works. However, when I get to itemSize, things fall apart
because the sizes are in English units (inches & feet), with a sampling like
this:
1-1/2"
6"
10"
If I apply my current sort method and sort by itemSize, the 6" item falls to
the end of the list since the entries are text (they have to be this way
because itemSize units can be inches, feet, or a combination of both).
I imagine that I could add another column to my table that holds a
conversion of the feet/inces to a decimal, add it as a hidden column on the
form, then use it for sorting. But, I'm wondering if anyone run into this
issue and if so, do you have any tips you can share as to how you addressed
it?
Thanks & Ciao