<?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: Disable control based on page numbering (last page)</title><link>https://www.infopathdev.com:443/forums/thread/70783.aspx</link><pubDate>Sat, 01 Oct 2011 08:39:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70783</guid><dc:creator>K.Sarkar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70783.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70783</wfw:commentRss><description>&lt;p&gt;Hi AzuDaioh . I have a similar type of problem. I have a Repeating Table with Header &amp;amp; Footer on every page. If numer of rows in repeating table excees 20, it will move to next page and insert another 20 blank rows by cloning from sampledata.There is a Text Control &lt;u&gt;&amp;quot;Grand Total&amp;quot; in Footer which I want to be printed on last page only&lt;/u&gt;. I have tried conditional formatting but it is either open in all pages or hidden in all pages.I use javascript in my Form.&lt;/p&gt;
&lt;p&gt;I have already posted the problem in forum on 29.09.11.&lt;/p&gt;
&lt;p&gt;Please Help.&lt;/p&gt;</description></item><item><title>Re: Disable control based on page numbering (last page)</title><link>https://www.infopathdev.com:443/forums/thread/57657.aspx</link><pubDate>Thu, 05 Aug 2010 01:49:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57657</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57657.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57657</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;THanks Hilary, It&amp;#39;s good to know. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Disable control based on page numbering (last page)</title><link>https://www.infopathdev.com:443/forums/thread/57654.aspx</link><pubDate>Wed, 04 Aug 2010 23:57:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57654</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57654.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57654</wfw:commentRss><description>&lt;p&gt;I thought I&amp;#39;d chime in -- I too prefer C#, but I found out a while back that you CAN debug jscript in InfoPath -- &lt;a href="http://support.microsoft.com/kb/827002"&gt;here&amp;#39;s&lt;/a&gt; a Microsoft KB with more info.&lt;/p&gt;</description></item><item><title>Re: Disable control based on page numbering (last page)</title><link>https://www.infopathdev.com:443/forums/thread/57653.aspx</link><pubDate>Wed, 04 Aug 2010 23:27:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57653</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57653.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57653</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Azudaioh, can you tell me more about you other issue.I begining to programming in Jscript like you, I was frustated too, when you want to change a little thing, you have too make lots of debugging...the problem is that you can&amp;#39;t have any debbuging mode with some quick watch. I change for a managed code. I choose C#, and it&amp;#39;s really easier to develop.&lt;/p&gt;&lt;p&gt;If I can help just ask.&lt;b&gt;&lt;b&gt; &lt;/b&gt;&lt;/b&gt;&lt;/p&gt;</description></item><item><title>Re: Disable control based on page numbering (last page)</title><link>https://www.infopathdev.com:443/forums/thread/57652.aspx</link><pubDate>Wed, 04 Aug 2010 22:34:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57652</guid><dc:creator>AzuDaioh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57652.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57652</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hi Potemkine, I couldnt figure out how to use position() but using your example, I figured it out by adding 2 fields, one to display a row count, and the other to capture the max(rowcount). Then using jscript I found on one of the sites listed above, I managed to display the grand total on the last page only. This issue is resolved...but now I have another issue. I&amp;#39;m about to give it up with coding infopath, with my very limited, almost none,&amp;nbsp;scripting experience, it&amp;#39;s very frustrating. But thanks to this forum and members, I&amp;#39;m&amp;nbsp;learning a lot too. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you so much. &lt;/p&gt;</description></item><item><title>Re: Disable control based on page numbering (last page)</title><link>https://www.infopathdev.com:443/forums/thread/57540.aspx</link><pubDate>Mon, 02 Aug 2010 16:44:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57540</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57540.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57540</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Please, let me know if it&amp;#39;s working.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Disable control based on page numbering (last page)</title><link>https://www.infopathdev.com:443/forums/thread/57539.aspx</link><pubDate>Mon, 02 Aug 2010 16:39:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57539</guid><dc:creator>AzuDaioh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57539.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57539</wfw:commentRss><description>&lt;p&gt;&lt;/p&gt;
I&amp;#39;ll try this out soon.  Thanks Potemkine. ^^</description></item><item><title>Re: Disable control based on page numbering (last page)</title><link>https://www.infopathdev.com:443/forums/thread/57500.aspx</link><pubDate>Sat, 31 Jul 2010 04:24:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57500</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57500.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57500</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You can put the control &amp;quot;TotalOPAmt&amp;quot; on a section and make a conditional formatting on it based on the number of line of your repeating table.&lt;/p&gt;&lt;p&gt; If Current position of &amp;quot;TotalOPAmt&amp;quot;&amp;lt; total number of line&amp;nbsp; you don&amp;#39;t display it.&lt;/p&gt;&lt;p&gt;You can have your curent position with a calculated field : count(preceding-sibling::my:item) + 1&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Disable control based on page numbering (last page)</title><link>https://www.infopathdev.com:443/forums/thread/57498.aspx</link><pubDate>Fri, 30 Jul 2010 22:11:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57498</guid><dc:creator>AzuDaioh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57498.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57498</wfw:commentRss><description>&lt;p&gt;I finally got the repeating table header to&amp;nbsp;print on multiple pages when the row exceeds more than a page could handle. Many thanks to Matt Faus (&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;), Jimmy Rishe (&lt;a href="http://www.infopathdev.com/blogs/jimmy/archive/2009/03/06/automatically-adding-rows-to-repeating-sections.aspx"&gt;http://www.infopathdev.com/blogs/jimmy/archive/2009/03/06/automatically-adding-rows-to-repeating-sections.aspx&lt;/a&gt;), and Vishal Monpara (http://blog.vishalon.net/index.php/infopath-a-proper-way-to-blank-out-whole-number-date-using-jscript).&amp;nbsp;My entire script composed of codes I found on their blogs. :)&lt;/p&gt;
&lt;p&gt;I&amp;#39;m still trying to figure out how to avoid the first&amp;nbsp;blank page&amp;nbsp;I&amp;#39;m getting but that&amp;#39;s another story. My more pressing issue is this:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;One of the columns in the repeating table is &amp;quot;OPAmt&amp;quot; and in the repeating table footer, i added a control &amp;quot;TotalOPAmt&amp;quot;&amp;nbsp;which has a default value of sum(OPAMt).&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Now I want to disable this control if the page is not the last page.&amp;nbsp;I only want to display the grand total on the last page.&amp;nbsp; Is this doable? I&amp;#39;m using infopath 2003 sp1. &lt;/p&gt;
&lt;p&gt;Any help and guidance is much appreciated. &lt;/p&gt;
&lt;p&gt;Thank you, &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>