<?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: How do i populate a print report with selected form fields</title><link>https://www.infopathdev.com:443/forums/thread/37283.aspx</link><pubDate>Sun, 18 Jan 2009 05:32:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37283</guid><dc:creator>Ian Dawson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37283.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37283</wfw:commentRss><description>&lt;p&gt;Hi Shiva,&lt;/p&gt;
&lt;p&gt;Hilary finally provided the clues that I needed.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;1. I&amp;nbsp;was not aware, originally, that a print view was a screen that was modifiable. &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;It makes sense in the infopath&amp;nbsp;structure..&lt;/p&gt;
&lt;p&gt;2. A thought I had to add a control to an Expression box.&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; It wasn&amp;#39;t until I tested one out that I realised that what you add was optional.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You could add a control, hard coded text,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or both, with the control first, I think, haven&amp;#39;t tested that one yet!&lt;/p&gt;
&lt;p&gt;I consider problem solved&lt;/p&gt;
&lt;p&gt;thank you&lt;/p&gt;</description></item><item><title>Re: How do i populate a print report with selected form fields</title><link>https://www.infopathdev.com:443/forums/thread/36552.aspx</link><pubDate>Mon, 05 Jan 2009 01:15:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36552</guid><dc:creator>Ian Dawson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36552.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36552</wfw:commentRss><description>&lt;p&gt;Thanks for the response Shiva. Following is Matt Faus&amp;#39;s response,&amp;nbsp;I think that is what you are referring to:-&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;Anyways, I&amp;#39;m kind of thinking about this as a &amp;quot;Rolodex&amp;quot; kind of situation where you have a repeating section with several fields and a button in each one. &lt;br /&gt;&amp;nbsp;What you could do is have a hidden field in the repeating section that would act as a &amp;quot;sentinel&amp;quot; and &lt;br /&gt;&amp;nbsp;put code behind the button that would change the sentinel value to enable printing of the specific section (contact in the rolodex example). &lt;br /&gt;&amp;nbsp;Say you have fields Name, Address, Phone, and Email, you would add one more - PrintEnable. &lt;br /&gt;&amp;nbsp;Now the code in the button would put a true in the PrintEnable field (you could also do this with rules), &lt;br /&gt;&amp;nbsp;switch views, print, and finally set PrintEnable back to false &lt;br /&gt;&amp;nbsp;(you might even want to switch back to your original view).&amp;nbsp;&lt;br /&gt;&amp;nbsp;The other view that you would make would be a repeating section bound to the same nodes in the data source&lt;br /&gt;&amp;nbsp;as the one on the main page&amp;nbsp;where you have all of them,&lt;br /&gt;&amp;nbsp;except you would filter the ones that it selects to display only the ones where PrintEnable == true. &lt;br /&gt;&amp;nbsp;Since the only way PrintEnable will become true is when you press the button you know that this section will only have one contact in it.&amp;#39;&lt;br /&gt;&lt;/em&gt;**************************************************&lt;br /&gt;Does Matt mean a button against each field!!!&lt;/p&gt;
&lt;p&gt;Going over his response I read the suggestion as, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; each line on the main form has a hidden control field &amp;quot;PrintEnable(1 to 180)&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A corrsponding field on the second form is set to match the field on the first (via the Database)&lt;/p&gt;
&lt;p&gt;What I have is a large repeating section, a customer screen. &lt;br /&gt;But what text and code&amp;nbsp;on the form screen is largish, over&amp;nbsp;93 customer fields plus comment lines, on 123 lines.&lt;br /&gt;I want to produce a report that shows only the fields selected and&amp;nbsp;not show any blank lines.&lt;br /&gt;And this report page will be for the one customer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have experimented with the button calls, and can call another form. So I understand what to do there.&lt;br /&gt;But I fail to see how the second form would not be populated in much the same format lines as the current. &lt;br /&gt;Except unchecked lines will show a blank line.&amp;nbsp; Maybe I am wrong.&lt;/p&gt;
&lt;p&gt;The 2nd form is in a memo (report)&amp;nbsp;format. I fail to see how I could join up the lines to make&amp;nbsp;a paragraph.&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Ian&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How do i populate a print report with selected form fields</title><link>https://www.infopathdev.com:443/forums/thread/36550.aspx</link><pubDate>Sun, 04 Jan 2009 19:47:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36550</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36550.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36550</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Check out this link,&lt;/p&gt;
&lt;p&gt;http://www.infopathdev.com/forums/p/3507/13974.aspx#13974&lt;/p&gt;</description></item><item><title>How do i populate a print report with selected form fields</title><link>https://www.infopathdev.com:443/forums/thread/36545.aspx</link><pubDate>Sun, 04 Jan 2009 13:30:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36545</guid><dc:creator>Ian Dawson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36545.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36545</wfw:commentRss><description>&lt;p&gt;I am a newbie to Infopath. And I am not confident at all with VB, or C++ (pointers threw me).&lt;/p&gt;
&lt;p&gt;How do&amp;nbsp;I populate a print&amp;nbsp;report with selected form fields and the rest of the text in the field&amp;nbsp;sentence.&lt;/p&gt;
&lt;p&gt;I am trying to write a report which shows only lines (sentences)&amp;nbsp;which are checkbox selected. &lt;br /&gt;I don&amp;#39;t want blank lines for the unselected lines.&lt;/p&gt;
&lt;p&gt;Can you help please?&lt;/p&gt;</description></item></channel></rss>