elementary question about text style

2 messages Options
Embed this post
Permalink
Zoltan Trizna-2

elementary question about text style

Reply Threaded More More options
Print post
Permalink
dumb q needs a smart answer.a calculation puts together a sentence in a letter, including the client's first and last names.  as at the data entry level i cannot ensure that the name will be entered in the proper style (i.e., sometimes it is "John", other times it is "jOHn"), i use the "textstyleadd" function to have the first and last names in the sentence in an aesthetically pleasing manner ("titlecase").however, when i have to add a text string into this sentence (with the contents moved into another field), the formatting will be kept.  so my next words will also be in"titlecase".i have this workaround:   TextStyleAdd(Database::Firstname; Titlecase) & TextStyleRemove(" "; Lowercase).  this way if a place the cursor after the "space", the subsequent text will be in the format i type.the question is: how can this (or any other) text formatting be made valid only for the word or text string selected in a simpler / better manner?(fm8, wn
 2000/xp)megathanks!zoltan
_______________________________________________
FMPexperts mailing list
[hidden email]
http://lists.ironclad.net.au/listinfo.cgi/fmpexperts-ironclad.net.au
Patrick Neame-2

Re: elementary question about text style

Reply Threaded More More options
Print post
Permalink
"Dear " & Proper(FirstName) & " " & Proper(Surname)


On Jul 6, 2009, at 5:14 pm, Zoltan Trizna wrote:

> dumb q needs a smart answer.a calculation puts together a sentence  
> in a letter, including the client's first and last names.  as at the  
> data entry level i cannot ensure that the name will be entered in  
> the proper style (i.e., sometimes it is "John", other times it is  
> "jOHn"), i use the "textstyleadd" function to have the first and  
> last names in the sentence in an aesthetically pleasing manner  
> ("titlecase").however, when i have to add a text string into this  
> sentence (with the contents moved into another field), the  
> formatting will be kept.  so my next words will also be  
> in"titlecase".i have this workaround:    
> TextStyleAdd(Database::Firstname; Titlecase) & TextStyleRemove(" ";  
> Lowercase).  this way if a place the cursor after the "space", the  
> subsequent text will be in the format i type.the question is: how  
> can this (or any other) text formatting be made valid only for the  
> word or text string selected in a simpler / better manner?(fm8, wn
> 2000/xp)megathanks!zoltan
> _______________________________________________
> FMPexperts mailing list
> [hidden email]
> http://lists.ironclad.net.au/listinfo.cgi/fmpexperts-ironclad.net.au

_______________________________________________
FMPexperts mailing list
[hidden email]
http://lists.ironclad.net.au/listinfo.cgi/fmpexperts-ironclad.net.au