Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command proper
Message
From
09/01/2002 14:05:19
 
 
To
09/01/2002 11:10:05
Randy Hooper
Ranco Business Software
Tampa, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00601310
Message ID:
00602628
Views:
21
>>>>Randy,
>>>>
>>>>Just curious, but why don't you want to use PROPER()?
>>>>
>>>>~~Bonnie
>>>>
>>>>
>>>>>I don't want to use the command, proper, but I do want my first letter capitalize. I feel like I'm writing to much code for this, give me some ideals.
>>>>>
>>>>>Thanks, Randy
>>>
>>>Names with McC would turn out to be Mcc.....
>>
>>Randy,
>>
>>I'm not sure if you've solved this yet but I use code in the interactive change method that just checks for the previous character being a space (or whatever you want) and if it is converts it. Because you are only ever checking the last character if the user types on they can then go back and override your conversion.
>>
>>HTH
>
>Good point, I'm converting the first char to caps. My first name and last name are seperate fields.

Hi Randy

Sorry if I'm a bit late on this one, but Paul Maskens and I published details of a data-driven class that handles the issue by allowing you to define special handling for particular words in a table. Checl out the article: "A Case in Point" in the July 2001 issue of FoxTalk (you can get back issues and downloads from www.pinnaclepublishing.com)
----
Regards
Andy Kramek
Previous
Reply
Map
View

Click here to load this message in the networking platform