Hello,
Using CR2008. I want to display a list of groups based on a field that has combinations of strings and numbers. Most are sorted fine because they have no numbers or less than 10 numbers in sequence. Once over 10, they do not sort properly. Here are some examples:
Group 1- Field: equipment.location (string field)
Faculty Housing-1
Faculty Housing-10
Faculty Housing-11
etc.......
Faculty Housing-19
Faculty Housing-2
Faculty Housing-20
Faculty Housing-21
etc.......
Another example:
Student Housing-10A
Student Housing-10B
Student Housing-10C
Student Housing-10D
Student Housing-11A
Student Housing-11B
Student Housing-11C
Student Housing-11D
etc.......
Student Housing-19A
Student Housing-19B
Student Housing-19C
Student Housing-19D
Student Housing-1A
Student Housing-1B
Student Housing-1C
Student Housing-1D
Student Housing-20A
Student Housing-20B
Student Housing-20C
Student Housing-20D
Student Housing-21A
etc......
I would like these groups to appear sequentially by number if numbers are contained in the string. There are some that don't have numbers in the string, and some who only go up to 3 or 4 in their number sequence. Those are sorting fine, but it's the ones whose numbers get up in the teens and twenties where it doesn't sort right.
I'd appreciate any help.
Thanks...
Using CR2008. I want to display a list of groups based on a field that has combinations of strings and numbers. Most are sorted fine because they have no numbers or less than 10 numbers in sequence. Once over 10, they do not sort properly. Here are some examples:
Group 1- Field: equipment.location (string field)
Faculty Housing-1
Faculty Housing-10
Faculty Housing-11
etc.......
Faculty Housing-19
Faculty Housing-2
Faculty Housing-20
Faculty Housing-21
etc.......
Another example:
Student Housing-10A
Student Housing-10B
Student Housing-10C
Student Housing-10D
Student Housing-11A
Student Housing-11B
Student Housing-11C
Student Housing-11D
etc.......
Student Housing-19A
Student Housing-19B
Student Housing-19C
Student Housing-19D
Student Housing-1A
Student Housing-1B
Student Housing-1C
Student Housing-1D
Student Housing-20A
Student Housing-20B
Student Housing-20C
Student Housing-20D
Student Housing-21A
etc......
I would like these groups to appear sequentially by number if numbers are contained in the string. There are some that don't have numbers in the string, and some who only go up to 3 or 4 in their number sequence. Those are sorting fine, but it's the ones whose numbers get up in the teens and twenties where it doesn't sort right.
I'd appreciate any help.
Thanks...