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 / February 2006

Tip: Looking for answers? Try searching our database.

add a CR/LF

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
clear as mud - 20 Feb 2006 22:21 GMT
I am concatenating 2 text fields in a rule and need to add a LF/CR between
them.  All I am trying to do is append to an existing txt field with another
txt field but I want the appended data to start on a new line or new
paragraph.

Any ideas on how to do this in infopath?

My current action (on set a field's value[Comment]):
concat(Additional_Comments, " **** ", Comment)

Ideally, someone will tell me that I can replace the "****" with something
and it will work!

Thanks in advance for your help!
Adam Harding - 21 Feb 2006 08:48 GMT
Hi

How about concat(Additional_Comments, . , comment

With "." being the value of the field you are talking about
Additional_Comments

I am no 100% sure this will work in code but use it for dialogue box code in
Infopath and it works a treat.

Cheers Adam

> I am concatenating 2 text fields in a rule and need to add a LF/CR between
> them.  All I am trying to do is append to an existing txt field with another
[quoted text clipped - 10 lines]
>
> Thanks in advance for your help!
clear as mud - 28 Feb 2006 15:08 GMT
Didn't work, but thanks for the effort!  I assume that the ,., was a
comma-period-comma.  It did syntax OK, but the result was as if it was a null
character inserted.  

Any other suggestions?

> Hi
>
[quoted text clipped - 22 lines]
> >
> > Thanks in advance for your help!
 
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.