terp
Beta Tester Extraordinaire
...just one of those things that make me go, "hmmmm." Is it easy to fire a little sql to save a form response with a capital letter, if lower-case was used?
So, for example, I have a field for 'city' and a user enters "fredericksburg," but other users enter it as "Fredericksburg," I thought it would be a nice touch to have all first letters capitalized; but I could see this getting complicated (for someone like me) if there is more than a one word (like new York city) response.
Would something as simple as this work?
Okay, it doesn't work, as I tried it, so thought I would ask...
So, for example, I have a field for 'city' and a user enters "fredericksburg," but other users enter it as "Fredericksburg," I thought it would be a nice touch to have all first letters capitalized; but I could see this getting complicated (for someone like me) if there is more than a one word (like new York city) response.
Would something as simple as this work?
Code:
RETURN upper(left(@string, 1)) + right(@string, len(@string) - 1)
Okay, it doesn't work, as I tried it, so thought I would ask...