Hi there
I've got a lot of movies and I was trying to build a view that groups them alphabetically. Ah, simple I hear you say, but I've a twist to make it more complicated. I've got lots of movies begining with A, B etc but only a handful beginning with 0-9. I don't really want my group list to begin with 0, 1, 2, 3 etc, I'd prefer a single group containing anything non-alphabetic.
Again, not too hard, I thought about creating a new field that uses an expression to group the non-alpha titles, but then I remembered that I'm not really sorting / grouping on the name itself, but something else where "The" "A" etc has been removed.
So take "The 39 Steps" for example. with the right options set, sorting and grouping will use the first significant character, ie. the 3 of 39 rather than the T of The. But how do I reference the first significant character in my expression?
I've tried to prototype this, with slightly unexpected results. I set up a new field called "first", which had an expression of left([name],1. At first, and I may be mistaken herer, but it seemed to be gfiving me a value of "3" instead of the expected "T". Pleased with this, I built another field that used "first" and substituted "#" if "first" was not alphabetic. At this point the value of "first" chnaged from "3" to "T" and no matter what I did I couldn't change it back.
So apart from that little mystery, I'm still stuck with my same problem, how do I group my numeric titles?
Any ideas?