All I have 2 fields on a report that I want to sort by. 1 is a date field and the other is a text field. The name of the date field is: iecdNumber and the name of the text field is: iecd_number.
The iecd_number field has to be a text field because users are allowed to enter numbers and letters.
I want to sort ascending on both, but it doesn't sort correctly, because of the letters in the iecd_number field.
Example:
c03-0107
c03-0017b
c03-0065a
I want that to sort like this:
c03-0017b
c03-0065a
c03-0107
c03 = iecdNumber (date field)
0107, etc. = iecd_number (text field)
I need to keep the iecd_number as a text field.
How can I get this to sort correctly? Is there a way?
Please help.
Thanks in advance.
Jerome Benton
JERPAT Web Designs
GOD Is Good All The Time!!!
The iecd_number field has to be a text field because users are allowed to enter numbers and letters.
I want to sort ascending on both, but it doesn't sort correctly, because of the letters in the iecd_number field.
Example:
c03-0107
c03-0017b
c03-0065a
I want that to sort like this:
c03-0017b
c03-0065a
c03-0107
c03 = iecdNumber (date field)
0107, etc. = iecd_number (text field)
I need to keep the iecd_number as a text field.
How can I get this to sort correctly? Is there a way?
Please help.
Thanks in advance.
Jerome Benton
JERPAT Web Designs
GOD Is Good All The Time!!!