>>Maybe. The example in the VFP Help file does what I want (converts to title case or "proper name" case), but I can't figure out where to use it. I tried using it with "this.value" in my init of a TextBox but that didn't work. I think there is a way to use the PROPER() function to do what I want but I haven't figured it out yet. Any suggestions?
>
>Depends what you're doing...you could use the gotfocus, or a page/form activate, for example...text.value = proper(text.value), basically...
What I would like is to have all (or most ) of my TextBoxes and GridColumns to display and store data in "Titlecase" (1st letter of each word capitalized) regardless of how the user enters the data from the keyboard. For example I have a field for LastName, in the Format section of the table designer I use "!" and all the LastName's appear in UPPERCASE. I would like to do the same for other fields but instead of using UPPERCASE I want to use "Titlecase".
TIA
--lincoln
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement