Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / March 2005

Tip: Looking for answers? Try searching our database.

Inserting Carriage Returen in rule

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andy - 07 Mar 2005 17:29 GMT
I am adding a timestamp to a rich field in my Infopath form.  In the control
I have a rule that concats:
          concat(now(),"****updated")
The concat works fine but I want to add a carriage return after "updated".  
I tried changing my string to "****updated\r\n" but this does not result in
inserting in a cr/lf but just extends my string with the "\", "r", "\", "n"
characters.

From what I have read the \r\n works for text but not rich text.  Any
suggestions?
Andy - 30 Mar 2005 17:17 GMT
I was forced to write code in VB to create a rich text HTML node.  It was a
struggle but it works.  See "Rich TexT Box Manipulation" post for how it was
done if you are interested.

> I am adding a timestamp to a rich field in my Infopath form.  In the control
> I have a rule that concats:
[quoted text clipped - 6 lines]
> From what I have read the \r\n works for text but not rich text.  Any
> suggestions?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.