<?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: InfoPath 2013 web form print view with repeating table</title><link>https://www.infopathdev.com:443/forums/thread/107769.aspx</link><pubDate>Wed, 24 Aug 2016 11:51:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107769</guid><dc:creator>2shahid.hashmi@gmail.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107769.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107769</wfw:commentRss><description>The formula in Rule1 in one of the post on this forum (Attached) &amp;amp; was just trying attempts to modify it according to my need. &lt;br /&gt;
The formula returns the result in a specific pattern, every ninth row will have same result for &lt;b&gt;round (count(preceding-sibling::SharePointListItem_RW/Position[Chkbox = &amp;quot;true&amp;quot;]) / 10) &lt;/b&gt;and &lt;b&gt;count(preceding-sibling::SharePointListItem_RW/Position[Chkbox = &amp;quot;true&amp;quot;]) / 10 &lt;/b&gt;. I was just trying to utilize the result in condition to manipulate the repeating table. &lt;br /&gt;
I am still trying to implement the page brake logic on printable form limiting 10 rows each page with place holders if there are less than 10 items. &lt;br /&gt;
Today I received final template to generate the printable form (attached) this is how output should be printed with incrementing number.</description></item><item><title>Re: InfoPath 2013 web form print view with repeating table</title><link>https://www.infopathdev.com:443/forums/thread/107767.aspx</link><pubDate>Wed, 24 Aug 2016 11:38:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107767</guid><dc:creator>2shahid.hashmi@gmail.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107767.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107767</wfw:commentRss><description>My apologies Hilary... :-( I realized the position number is appearing correctly as I wanted, thanks for the suggestion to add [Checkbox] condition. &lt;br /&gt;</description></item><item><title>Re: InfoPath 2013 web form print view with repeating table</title><link>https://www.infopathdev.com:443/forums/thread/107761.aspx</link><pubDate>Tue, 23 Aug 2016 22:43:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107761</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107761.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107761</wfw:commentRss><description>The rule on the repeating section that hides where checkbox is not = true should be correct. Rule 2 which has the condition 1 = 1 should be hiding all rows, so you should delete that. Can you give me a hint as to what the math in Rule 1 is supposed to be doing? Then I should be able to help you with that formula - sorry, I just don&amp;#39;t understand it at all, so if you spell it out for me, it will help. :)</description></item><item><title>Re: InfoPath 2013 web form print view with repeating table</title><link>https://www.infopathdev.com:443/forums/thread/107759.aspx</link><pubDate>Tue, 23 Aug 2016 21:29:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107759</guid><dc:creator>2shahid.hashmi@gmail.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107759.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107759</wfw:commentRss><description>Thanks Hilary,
&lt;br /&gt;&lt;br /&gt;
Please see attached form I am working on, It is my R&amp;amp;D copy, Here on &lt;b&gt;PrintMultiple &lt;/b&gt;view is where I am trying to get the list of all employees selected by requester for print.</description></item><item><title>Re: InfoPath 2013 web form print view with repeating table</title><link>https://www.infopathdev.com:443/forums/thread/107757.aspx</link><pubDate>Tue, 23 Aug 2016 16:47:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107757</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107757.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107757</wfw:commentRss><description>Can you attach a copy of your form under the Options tab in a reply? Yes, of course it is possible to get the position of items even with an external data source and XPath filters.</description></item><item><title>Re: InfoPath 2013 web form print view with repeating table</title><link>https://www.infopathdev.com:443/forums/thread/107754.aspx</link><pubDate>Tue, 23 Aug 2016 15:57:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107754</guid><dc:creator>2shahid.hashmi@gmail.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107754.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107754</wfw:commentRss><description>That is what I am trying to do but no luck so far...could you please elaborate little more .... this is haunting me for weeks .... :-(&lt;br /&gt;
Is it really possible to get the position (starting from 1) of only filtered and visible items in case of repeating table created from external data source?</description></item><item><title>Re: InfoPath 2013 web form print view with repeating table</title><link>https://www.infopathdev.com:443/forums/thread/107750.aspx</link><pubDate>Tue, 23 Aug 2016 15:09:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107750</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107750.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107750</wfw:commentRss><description>So- in your calculated value for the &amp;quot;position&amp;quot; field, you could add the XPath filter to only include items where the checkbox field is true.</description></item><item><title>Re: InfoPath 2013 web form print view with repeating table</title><link>https://www.infopathdev.com:443/forums/thread/107748.aspx</link><pubDate>Tue, 23 Aug 2016 10:06:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107748</guid><dc:creator>2shahid.hashmi@gmail.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107748.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107748</wfw:commentRss><description>1. I have ignored the error as formula seems working. &lt;br /&gt;
2. I was trying some solution hence added position field and converted it to calculated value (not required though) &lt;br /&gt; 
3. Thanks for relative path tip, My Objective is to provide users with the printable web form where only selected rows should be visible in table and the sequence should start from 1 &lt;br /&gt;
&amp;nbsp;Currently the formula is returning the position of the item from the external content source. That means it is not returning the row position in the current table as per the visibility. (Not sure if I am missing something in formula or I am trying wrong approach)&lt;br /&gt;
&amp;nbsp;Going  forward I want to limit the row count to 10/15 rows with page breaks and display repeating header-footer on every new page being printed&lt;br /&gt;

I am thinking to try generating word document or PDF for printing if it is possible to carry and format repeating table in word. &lt;br /&gt;&lt;br /&gt;
Please advise.</description></item><item><title>Re: InfoPath 2013 web form print view with repeating table</title><link>https://www.infopathdev.com:443/forums/thread/107744.aspx</link><pubDate>Mon, 22 Aug 2016 15:12:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107744</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107744.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107744</wfw:commentRss><description>&lt;ol&gt;&lt;li&gt;The error on binding shouldn&amp;#39;t be a problem unless your form has code - if you search on the error message, you&amp;#39;ll find a blog post I wrote&amp;nbsp;on this. Basically, it is an&amp;nbsp;InfoPath bug - calc&amp;#39;d values&amp;nbsp;should not be bound, but sometimes IP adds that to the view and it causes an issue&lt;/li&gt;&lt;li&gt;Isn&amp;#39;t your formula on the repeating table row itself to hide&amp;nbsp;it?&amp;nbsp;What is in the Position field?&lt;/li&gt;&lt;li&gt;Your filter uses an absolute path back to the checkbox field - that isn&amp;#39;t what I&amp;#39;d try. count(preceding-sibling::d:SharePointListItem_RW/d:Position[../d:Chkbox = &amp;quot;true&amp;quot;]) + 1 would use the relative path. But perhaps I don&amp;#39;t understand what you are trying to do here. :)&lt;/li&gt;&lt;/ol&gt;</description></item><item><title>Re: InfoPath 2013 web form print view with repeating table</title><link>https://www.infopathdev.com:443/forums/thread/107740.aspx</link><pubDate>Sat, 20 Aug 2016 15:16:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107740</guid><dc:creator>2shahid.hashmi@gmail.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107740.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107740</wfw:commentRss><description>Thank you so much for reply Hilary!!
&lt;br /&gt;&lt;br /&gt;
I tried this on a calculated value inside repeating table and there was no error in formula on applying it but when I published the form it prompted me error saying &amp;quot;Binding a non-repeating control to repeating field or group is not supported in SharePoint list form&amp;quot;, Am I missing something??
&lt;br /&gt;&lt;br /&gt;
I published form ignoring error but it is still showing the item position from the list. 
&lt;br /&gt;&lt;br /&gt;
My formula looks something like this: - count(preceding-sibling::d:SharePointListItem_RW/d:Position[/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Chkbox = &amp;quot;true&amp;quot;]) + 1</description></item><item><title>Re: InfoPath 2013 web form print view with repeating table</title><link>https://www.infopathdev.com:443/forums/thread/107732.aspx</link><pubDate>Fri, 19 Aug 2016 15:16:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107732</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107732.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107732</wfw:commentRss><description>I think you&amp;#39;ll have to add the same XPath filter to your count of preceding sibling - I&amp;#39;m guessing the checkbox is bound to a field in d:SharePointListItem_RW? The filter will vary based on the name of the field bound to the checkbox &amp;amp; the selected value of the checkbox, but basically something like this: count(preceding-sibling::d:SharePointListItem_RW[d:CheckBoxField = &amp;#39;true&amp;#39;])+1</description></item><item><title>InfoPath 2013 web form print view with repeating table</title><link>https://www.infopathdev.com:443/forums/thread/107729.aspx</link><pubDate>Fri, 19 Aug 2016 13:56:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107729</guid><dc:creator>2shahid.hashmi@gmail.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107729.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107729</wfw:commentRss><description>&lt;b&gt;*Environment:&lt;/b&gt; Using InfoPath 2013 (Web form) with SharePoint 2013
&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;*Requirement:&lt;/b&gt;
Want to display only 10 items from repeating table per page with fixed header and footer for all the pages 
&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;*Background:&lt;/b&gt;
Getting child items as rows in repeating table using filtered External Data source
Also users will be able to select specific/All items from the repeating table (using checkbox) to print
&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;*Solutions Tried:&lt;/b&gt;
1.Using position() function to set counter did not help (it says not supported)
2.Tried count(preceding-sibling::d:SharePointListItem_RW)+1 but it returns the position of item in respective external data source list not the position in the current filtered repeating table ( which is filtered based on checkbox=true)
&lt;br /&gt;&lt;br /&gt;
In case any alternate solution to achieve the clean printable InfoPath view with repeating table containing 200+ rows would be appreciated.
&lt;br /&gt;&lt;br /&gt;
Thanks in advance</description></item></channel></rss>