I'm creating a form that will allow the users to search thorugh a database of registered users based on the first letter of their last name.
I don't want to create a drop down of A-Z, so I tried to use a CFLoop using From="A" to="Z" - that didn't work.
From my research, there doesn't appear to be a way to get CFLoop to work with anything but numbers. Now I know that each letter has an ascii code representation, if memory servers A is 65.
So if I were to loop from 65 to 81 and then have CF output the character of 65 (which in other languages that I'm more familiar with would be like CHR(65)) - I'd get my letter A.
How (or is it even possible) do I do the equivalent of CHR(#VALUE#) in CF?
Thanks!
I don't want to create a drop down of A-Z, so I tried to use a CFLoop using From="A" to="Z" - that didn't work.
From my research, there doesn't appear to be a way to get CFLoop to work with anything but numbers. Now I know that each letter has an ascii code representation, if memory servers A is 65.
So if I were to loop from 65 to 81 and then have CF output the character of 65 (which in other languages that I'm more familiar with would be like CHR(65)) - I'd get my letter A.
How (or is it even possible) do I do the equivalent of CHR(#VALUE#) in CF?
Thanks!