Group:  Other Microsoft Office Products ยป microsoft.public.infopath
Thread: Converting Ampersand to "and"

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Converting Ampersand to "and"
"Dean" <deanl144[ at ]hotmail.com.nospam> 17.07.2006 15:17:23
I need to be able to convert the ampersand "&" symbol to the word "and" when
it is retrieved from a secondary data source or entered by users into a text
field. How can I do this?
TIA
Dean


RE: Converting Ampersand to "and"
Kalyan Reddy 17.07.2006 18:24:01
Hello Dean,

Please read the link below where this issue is addressed.
http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1419

I hope this will help you.
--
Kalyan Reddy
Visit http://www.autonomysystems.com




"Dean" wrote:

[Quoted Text]
> I need to be able to convert the ampersand "&" symbol to the word "and" when
> it is retrieved from a secondary data source or entered by users into a text
> field. How can I do this?
> TIA
> Dean
>
>
>
Re: Converting Ampersand to "and"
"Greg Collins [InfoPath MVP]" <gcollins_AT_msn_DOT_com> 17.07.2006 22:26:50
You will have to write code to do this. OnLoad event handler is the right place for the 2DS (secondary data source) and an OnAfterChange event handler bound to the root node would allow you to handle all user-entered text.

--
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net