Carriage Returns - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » General » Carriage Returns Carriage Returns Last post 04-13-2006 03:56 AM by vt_asparagus. 3 replies. Page 1 of 1 (4 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 12-13-2005 10:30 AM vt_asparagus Joined on 08-05-2005 USA Posts 285 Carriage Returns Reply Contact I have read the following threads. http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=817http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1095In SP in a DB, I am contacting a several lines together with "\r\n" indicating where I want a line break. I have a textbox that allows paragraph breaks on InfoPath. From my webservice which is calling a SP in SQL Server I have return the following with no avail:<Value>aaa \r\n bbb \r\n ccc</Value><Value>aaa\r\nbbb\r\nccc</Value>In the textbox I simply want to display:aaabbbcccbut I am getting:aaa \r\n bbb \r\n cccAny other ideas of how I should return such that InfoPath will recognize the carriage return. Jasonhttp://www.k2distillery.com/ 12-13-2005 12:28 PM In reply to vt_asparagus Joined on 08-05-2005 USA Posts 285 Re: Carriage Returns Mark as Not AnswerMark as Answer... Reply Contact Found problem, in stored proce - added char(13) + char(10) then this would return through webservice, down to InfoPath correctly. This seems like something I overcame when several years ago in undergrad. Jasonhttp://www.k2distillery.com/ 04-13-2006 03:10 AM In reply to lxhiss Joined on 12-12-2005 Posts 9 Re: Carriage Returns Mark as Not AnswerMark as Answer... Reply Contact Hey vt_asparagus,I've read through the same posts and am having the same problem with the carriage return. Can you please explain in laymans terms how to add char (13) + char (10) into the stored procedure?Cheersquote:Originally posted by vt_asparagusFound problem, in stored proce - added char(13) + char(10) then this would return through webservice, down to InfoPath correctly. This seems like something I overcame when several years ago in undergrad. 04-13-2006 03:56 AM In reply to vt_asparagus Joined on 08-05-2005 USA Posts 285 Re: Carriage Returns Mark as Not AnswerMark as Answer... Reply Contact I do not have access to the stored proc right now, but all that simply means is the select statement did the following:Select colA + char (13) + char (10) + colB From tblTestMake sense... Jasonhttp://www.k2distillery.com/ Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
quote:Originally posted by vt_asparagusFound problem, in stored proce - added char(13) + char(10) then this would return through webservice, down to InfoPath correctly. This seems like something I overcame when several years ago in undergrad.