<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Problem with table headers in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/60524.aspx</link><pubDate>Wed, 20 Oct 2010 13:12:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60524</guid><dc:creator>stara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60524.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=60524</wfw:commentRss><description>&lt;p&gt;Shiraz,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using infopath 2003 and I tried to follow your instructions to display table headers on every page. Unfortunately, this doesn&amp;#39;t seem to work correctly.&lt;/p&gt;
&lt;p&gt;When I view the form, the table header repeat with each record and in the Print preview - Table headers appear on every page. But only 1 record per page is displayed. Here&amp;#39;s what I did:&lt;/p&gt;
&lt;p&gt;1. A section at the top for page header&lt;/p&gt;
&lt;p&gt;2. Added &amp;nbsp;a section below&amp;nbsp;with page break - andconditional formatting &amp;quot;The expression&amp;quot; as:&lt;/p&gt;
&lt;p&gt;round(count(../preceding-sibling::my:myFields) div 8) != count(../preceding-sibling::my:myFields) div 8 OR&lt;/p&gt;
&lt;p&gt;count(../preceding-sibling::my:myFields) = 0&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;Added a section below with table headings and with conditional formatting &amp;quot;The expression&amp;quot;&amp;nbsp;as:&lt;/p&gt;
&lt;p&gt;round(count(../preceding-sibling::my:Products) div 8) != count(../preceding-sibling::my:Products) div 8 AND&lt;/p&gt;
&lt;p&gt;count(../preceding-sibling::my:Products) != 0&lt;/p&gt;
&lt;p&gt;4. Added data fields below&lt;/p&gt;
&lt;p&gt;5. items 2,3,4 are within a repeating section&lt;/p&gt;
&lt;p&gt;Can you please&amp;nbsp;help me resolve the issue? I have attached the form.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks a lot,&lt;/p&gt;
&lt;p&gt;Stara&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem with table headers in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/57428.aspx</link><pubDate>Wed, 28 Jul 2010 23:08:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57428</guid><dc:creator>AzuDaioh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57428.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=57428</wfw:commentRss><description>&lt;p&gt;Is this doable for Infopath 2003 sp1?&amp;nbsp; I can&amp;#39;t open the attachment from Shiraz so I&amp;#39;m hoping there&amp;#39;s an earlier version.&amp;nbsp; 

The example shown with templatepart:header and templaatepart:footer with the repeating section in the middle is exactly what I need for my form so I could include the company&amp;#39;s logo and official form number on the bottom.  It sad that the footer/header option in Infopath 2003 is so limited. I&amp;#39;m almost done with my form except for the print version....

Thanks. &lt;/p&gt;</description></item><item><title>Re: Problem with table headers in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/49348.aspx</link><pubDate>Tue, 24 Nov 2009 00:28:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49348</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49348.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=49348</wfw:commentRss><description>&lt;p&gt;Experiment with the sample Shiraz attached to his post, but as I recall, you need to change the &amp;#39;div 8&amp;#39; part of the formulas to &amp;#39;div 30&amp;#39; (or whatever your requirement happens to be).&lt;/p&gt;</description></item><item><title>Re: Problem with table headers in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/49320.aspx</link><pubDate>Sat, 21 Nov 2009 01:39:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49320</guid><dc:creator>Meng S.</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49320.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=49320</wfw:commentRss><description>&lt;p&gt;Hi Shiraz,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Great post.... but one question... what if you wanted the second page to contain more rows.&amp;nbsp;&amp;nbsp; For example, 30 rows for the second page and only 8 rows for the first page.&amp;nbsp; Is this possible?&lt;/p&gt;</description></item><item><title>Re: Problem with table headers in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31886.aspx</link><pubDate>Tue, 02 Sep 2008 17:20:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31886</guid><dc:creator>Patrick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31886.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=31886</wfw:commentRss><description>&lt;p&gt;Awesome Greg!&amp;nbsp; Thanks, that works perfectly&lt;/p&gt;</description></item><item><title>Re: Problem with table headers in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31885.aspx</link><pubDate>Tue, 02 Sep 2008 16:22:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31885</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31885.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=31885</wfw:commentRss><description>&lt;p&gt;For each section, set all the padding and margin values to zero. Also remove the default 1pt white border from around the section.&lt;/p&gt;</description></item><item><title>Re: Problem with table headers in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/31823.aspx</link><pubDate>Fri, 29 Aug 2008 21:47:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31823</guid><dc:creator>Patrick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31823.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=31823</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;All I can say is WOW, nice job Shiraz!!!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I got this working very nicely, with one exception...The column headers and the Table that houses the position() and controls has a gap between them.&amp;nbsp; It&amp;#39;s strange because I compared it to your example and the Size settings for the sections are all the same.&amp;nbsp; Is there any trick to getting the header section to have no gap underneath?&amp;nbsp; Also, there is a small gap between each &amp;quot;row&amp;quot; in successive repeating sections when they are added.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problem with table headers in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/21931.aspx</link><pubDate>Tue, 24 Jul 2007 14:25:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21931</guid><dc:creator>GLazkano</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21931.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21931</wfw:commentRss><description>&lt;p&gt;I can&amp;#39;t attach an example form I made for you, the forum shows me the error message &amp;#39;You do not have permission to upload or link to files.  Please contact your system administrator.&amp;#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem with table headers in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/21890.aspx</link><pubDate>Mon, 23 Jul 2007 15:42:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21890</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21890.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21890</wfw:commentRss><description>&lt;p&gt;Right. With a repeating table you have to use code. Using a repeating section to simulate a table layout is really the only way to do it codeless. We frequently use repeating sections for table layout because of the greater control possible. You would have to change your form to use a repeating section instead.&lt;/p&gt;</description></item><item><title>Re: Problem with table headers in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/21888.aspx</link><pubDate>Mon, 23 Jul 2007 15:31:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21888</guid><dc:creator>GLazkano</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21888.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21888</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve tried it and there is no good news...&lt;/p&gt;&lt;p&gt;For a section wich contains data your example is simply perfect, but as I explained in other reply, I need it for a repeating table. The code made by Matt Faus in that how-to doesn&amp;#39;t work in my form, I get an error which was posted as a comment in the how-to, but no one can help me.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I will continue working on your example,&amp;nbsp; but I have no hope.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you want I can attach an example of my form, so you can maybe understand me.&lt;/p&gt;&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem with table headers in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/21833.aspx</link><pubDate>Fri, 20 Jul 2007 10:43:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21833</guid><dc:creator>GLazkano</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21833.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21833</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ll try that as soon as posible.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problem with table headers in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/21817.aspx</link><pubDate>Thu, 19 Jul 2007 19:35:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21817</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21817.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21817</wfw:commentRss><description>&lt;p&gt;I have figured out how to make this work. The EXPRESSION you need to use in your conditional formatting is:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;For the Page Break Section:&lt;br /&gt;&lt;/strong&gt;round(count(../preceding-sibling::my:group2) div 8) != count(../preceding-sibling::my:group2) div 8 OR count(../preceding-sibling::my:group2) = 0&lt;/p&gt;&lt;p&gt;&lt;strong&gt;For the Header Section:&lt;/strong&gt;&lt;br /&gt;round(count(../preceding-sibling::my:group2) div 8) != count(../preceding-sibling::my:group2) div 8 AND count(../preceding-sibling::my:group2) != 0&lt;/p&gt;&lt;p&gt;Note it&amp;#39;s slightly different for each section so you don&amp;#39;t get an initial page break. Also I was wrong about the placement of the page break. Easiest to put it at top above the header.&amp;nbsp;See the screen shot.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;The attached example form template demonstrates this technique.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt="Designer screen shot of sample form for printing table headers on each page." height="836" src="http://www.infopathdev.com/photos/blog_pictures/images/21816/original.aspx" style="width:725px;height:836px;" title="Designer screen shot of sample form for printing table headers on each page." width="725" /&gt;&lt;/p&gt;&lt;p&gt;2007-07-25: This post has been edited for accuracy.&lt;/p&gt;</description></item><item><title>Re: Problem with table headers in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/21811.aspx</link><pubDate>Thu, 19 Jul 2007 16:31:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21811</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21811.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21811</wfw:commentRss><description>&lt;p&gt;Hmm. Well, I wanted to avoid pushing you to have to use code for this, but the following HowTo (complex) also achieves what you want.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/matt/archive/2005/11/29/Repeat-Table-Headers-Across-Multiple-Printed-Pages.aspx"&gt;http://www.infopathdev.com/blogs/matt/archive/2005/11/29/Repeat-Table-Headers-Across-Multiple-Printed-Pages.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I hope that helps.&lt;/p&gt;&lt;p&gt;Thanks, Shiraz&lt;/p&gt;</description></item><item><title>Re: Problem with table headers in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/21581.aspx</link><pubDate>Tue, 10 Jul 2007 07:47:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21581</guid><dc:creator>GLazkano</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21581.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21581</wfw:commentRss><description>&lt;p&gt;Sorry but I have still a problem. &lt;/p&gt;&lt;p&gt;I don&amp;#39;t know which is the expression to check if a number is a multiple of another.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again!.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Update at 16:18&lt;/strong&gt;&amp;nbsp; (GMT +1)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I found why it doesn&amp;#39;t work: when the form enters in a repeating table, all the content of the fields are shown up, without check the formatting conditions specified on the section. It&amp;#39;s like if suddenly all the fields were shown and then (only then) the next section made its job.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I don&amp;#39;t know if I&amp;#39;m explaining myself, but I have tried it and It doesn&amp;#39;t work.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem with table headers in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/21580.aspx</link><pubDate>Tue, 10 Jul 2007 07:09:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21580</guid><dc:creator>GLazkano</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21580.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21580</wfw:commentRss><description>Thanks, I will try it inmediatly!&lt;br /&gt;</description></item></channel></rss>