<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Is there an easy way of having a conditional carriage return on print view</title><link>https://www.infopathdev.com:443/forums/thread/37743.aspx</link><pubDate>Wed, 28 Jan 2009 01:35:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37743</guid><dc:creator>Ian Dawson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37743.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37743</wfw:commentRss><description>&lt;p&gt;Thanks for the info about margins skarn. But it didn&amp;#39;t answer the question.&lt;/p&gt;
&lt;p&gt;I have found by adding a section,&amp;nbsp; and applying a condition to the section I can insert a Carriage Return. &lt;br /&gt;The only data in the&amp;nbsp;section is a CR of course.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;But, I am not sure at this point, if the&amp;nbsp;fact that the CR is there in the form, a lCR is&amp;nbsp;forced, regardless of the condition being true.&lt;/p&gt;</description></item><item><title>Re: Is there an easy way of having a conditional carriage return on print view</title><link>https://www.infopathdev.com:443/forums/thread/37625.aspx</link><pubDate>Sat, 24 Jan 2009 23:39:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37625</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37625.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37625</wfw:commentRss><description>&lt;p&gt;By default sections have margins and borders set on.&lt;/p&gt;
&lt;p&gt;Check out the attached demo form&amp;nbsp;- and see if this is what you are trying to do - I may not understand your need.&lt;/p&gt;
&lt;p&gt;To set margins: right click section and select properties -&amp;gt; size tab -&amp;gt; put 0 px in all the margin boxes&lt;/p&gt;
&lt;p&gt;To set borders: right click section and select borders and shading -&amp;gt; go to the borders page, and deselect all the border option - It LOOKS like there are no borders, but there ARE - they are clear and take up 1 px, if you unselect the border buttons, you will see what I mean.&lt;/p&gt;
&lt;p&gt;Hope this helps&amp;nbsp;- I will be on leave for 3 weeks now - If it still not working for you, and you still need help when I come back - I will endevour to help - otherwise someone else may be able to :-)&lt;/p&gt;
&lt;p&gt;Good luck.&lt;/p&gt;</description></item><item><title>Re: Is there an easy way of having a conditional carriage return on print view</title><link>https://www.infopathdev.com:443/forums/thread/37621.aspx</link><pubDate>Sat, 24 Jan 2009 10:06:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37621</guid><dc:creator>Ian Dawson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37621.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37621</wfw:commentRss><description>&lt;p&gt;It all sounded so promising :-)&lt;/p&gt;
&lt;p&gt;I constructed several sections, and inserted one sentence to each section.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But, when testing,&amp;nbsp; I am faced with a new line with each section in the printview. &lt;br /&gt;So if I have a separate section for each sentence.&lt;br /&gt;I will end up with 1 sentence paragraphs. That is not desired&amp;nbsp; :-(&lt;/p&gt;
&lt;p&gt;I thought of having just one section for all the sentences including and before the sentence (if selected) that requires the CR.&lt;/p&gt;
&lt;p&gt;And another section after, for all the other trailing sentences.&amp;nbsp; &lt;br /&gt;I still end up with a newline whether I want it or not.&amp;nbsp; &lt;br /&gt;I removed all CRs in each section that&amp;nbsp;I created. &lt;br /&gt;I also note that you cannot abut sections on the same line. &lt;br /&gt;There seems to be a built in CR after each section.&lt;/p&gt;
&lt;p&gt;Am I seeing&amp;nbsp;your solution&amp;nbsp;correctly??&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Is there an easy way of having a conditional carriage return on print view</title><link>https://www.infopathdev.com:443/forums/thread/37619.aspx</link><pubDate>Sat, 24 Jan 2009 06:36:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37619</guid><dc:creator>Ian Dawson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37619.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37619</wfw:commentRss><description>&lt;p&gt;&lt;/p&gt;Yes that seems to make sense.  I will try it out next week, and  let you now how it will work, and fit my needs.
But it does sond pretty well right.
Thanks again</description></item><item><title>Re: Is there an easy way of having a conditional carriage return on print view</title><link>https://www.infopathdev.com:443/forums/thread/37437.aspx</link><pubDate>Wed, 21 Jan 2009 09:29:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37437</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37437.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37437</wfw:commentRss><description>&lt;p&gt;Revisintg his post - and seeing the &amp;#39;let me be clearer&amp;#39; bit which I may have missed first time around, or is new information, I have the following suggestion.&lt;/p&gt;
&lt;p&gt;Instead of having a sequence of&amp;nbsp;expression boxes themselves each conditionally hidden, stick them in a sequence of sections (one per expression box) that&amp;nbsp;are conditionally hidden (based on your checkboxes as before). &lt;/p&gt;
&lt;p&gt;You can use the same datasource group bound to the sections - Infopath remembers each of the individual conditional formatting, so you don&amp;#39;t need to make many many data-source groups, just one.&lt;/p&gt;
&lt;p&gt;Now, for the ones you want to have carriage returns, put a carriage return after the expression box, but still inside the section it resides in.&lt;/p&gt;
&lt;p&gt;Wa lah! those sections when visible will have a carriage return, and the others will not.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;</description></item><item><title>Re: Is there an easy way of having a conditional carriage return on print view</title><link>https://www.infopathdev.com:443/forums/thread/37382.aspx</link><pubDate>Tue, 20 Jan 2009 12:14:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37382</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37382.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37382</wfw:commentRss><description>&lt;p&gt;Instead of an expression box, could you just use a normal textbox bound to a field, and set the field equal to the &amp;#39;string-concatenate&amp;#39; of all the other fields where the paragraphs are?&lt;/p&gt;
&lt;p&gt;Then set the text box as read only and change the formatting to look like an expression box.&lt;/p&gt;
&lt;p&gt;Not sure if this is what you are after.&lt;/p&gt;</description></item><item><title>Re: Is there an easy way of having a conditional carriage return on print view</title><link>https://www.infopathdev.com:443/forums/thread/37373.aspx</link><pubDate>Tue, 20 Jan 2009 09:00:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37373</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37373.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37373</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You have to write the code to set one filed value either true or false depends on your print view condition. You can use that field value to print those or not. &lt;/p&gt;</description></item><item><title>Is there an easy way of having a conditional carriage return on print view</title><link>https://www.infopathdev.com:443/forums/thread/37351.aspx</link><pubDate>Tue, 20 Jan 2009 00:47:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37351</guid><dc:creator>Ian Dawson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37351.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37351</wfw:commentRss><description>&lt;p&gt;&lt;em&gt;I have many lines of code, as mentioned in eartlier posts regarding how to limit text output.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;But my question now is,&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp; In some instances, I would like to separate&amp;nbsp;blocks of text from other&amp;nbsp;text.&amp;nbsp; As a paragraph.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Each paragraph could be quite long. So I don&amp;#39;t want to insert an expression box with dozens of conditions built in.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;So I thought how about one control applying a carriage return, linefeed.&amp;nbsp; (chr(10) and chr(12)&amp;nbsp; Basic+ formats etc etc)&lt;/em&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any clues anyone?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;&lt;em&gt;LET ME BE CLEARER&lt;/em&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I have a large Print View screen,&amp;nbsp; i.e.&amp;nbsp; many Controls and expression boxes. All of which are optionally&amp;nbsp; (Check box selected) printed out.&lt;/p&gt;
&lt;p&gt;The issue is, Sometimes, depending on what is selected, I would like to see a Carriage return / Line feed inserted. &lt;br /&gt;This insertion is ALSO optionally selectable.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any Clues anyone????&lt;/p&gt;</description></item></channel></rss>