<?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: Submitting a form with a new name + Copying data between columns in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/80183.aspx</link><pubDate>Tue, 03 Jul 2012 23:05:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80183</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80183.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80183</wfw:commentRss><description>&lt;p&gt;Hi - item 1 sounds like odd behavior to me - if your submit is going to create a new name, you shouldn&amp;#39;t be getting messages about overwriting - is this a browser form? Or filler? If a browser form, there will be a save location in the URL that may be causing you issues.&lt;/p&gt;
&lt;p&gt;Item 2 - no&lt;/p&gt;
&lt;p&gt;Item 3 - the issue may be where your rule is - if it was on a field in the repeating group, it would set the individual fields - see attached sample (save locally, right click, select Design and preview). Oh, and make sure position() is returning what you think it is....in my sample, I&amp;#39;m using a count of preceding-siblings....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Submitting a form with a new name + Copying data between columns in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/79870.aspx</link><pubDate>Tue, 26 Jun 2012 18:50:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79870</guid><dc:creator>jnegrea@uwaterloo.ca</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79870.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=79870</wfw:commentRss><description>&lt;p&gt;Hello. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TLDR: &lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;After the form is submitted under a new name, a popup appears asking if I would like to overwrite the old report. How do I suppress this popup.&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Can &amp;#39;Save As&amp;#39; be applied as an action&amp;nbsp;via rules?&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;How does one copy data from one column to another within&amp;nbsp;a repeating table without adding code.&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;I am relatively new to infopath. I have InfoPath 2010 installed. I do not have Visual Studio Tools for Applications [VSTA] installed (but I do not know how to code anyway). &lt;/p&gt;
&lt;p&gt;I am designing a form for Monthly Project&amp;nbsp;Reporting.&lt;/p&gt;
&lt;p&gt;I created a&amp;nbsp;Form&amp;nbsp;Library in SharePoint&amp;nbsp;called &amp;#39;Projects&amp;#39; where one (1)&amp;nbsp;&amp;#39;Project Information Form&amp;#39; form is&amp;nbsp;saved for each project we would like to report on. One (1)&amp;nbsp;of the fields in the &amp;#39;Project Information Form&amp;#39; is &amp;#39;PID&amp;#39; [Project ID] and is unique to the given project.&lt;/p&gt;
&lt;p&gt;I created a&amp;nbsp;Form&amp;nbsp;Library in SharePoint&amp;nbsp;called &amp;#39;Monthly Reports&amp;#39; where&amp;nbsp;I would&amp;nbsp;like to store the &amp;#39;Monthly Project Report Forms&amp;#39;.&lt;/p&gt;
&lt;p&gt;Most information between subsequent&amp;nbsp;&amp;#39;Monthly Project Report Forms&amp;#39;&amp;nbsp;is identical, so Ideally it will be preserved when preparing the next monthly report.&lt;/p&gt;
&lt;p&gt;For the purpose of maintaining through&amp;nbsp;documentation,&amp;nbsp;it would be ideal to save a new instance of the report with the new month and/or report number in the name it is saved&amp;nbsp;under, and&amp;nbsp;not to overwrite previous&amp;nbsp;reports for a given project.&lt;/p&gt;
&lt;p&gt;I do not know how to copy data between infopath forms, so I did the following:&lt;/p&gt;
&lt;p&gt;I created a numeric field, report number to count reports for me. On a new form it is set to 1 by default. Forms are named &amp;quot;&amp;lt;PID&amp;gt; - &amp;lt;Report Number&amp;gt;&amp;quot; on submit.&lt;br /&gt;&lt;br /&gt;I created a button labeled &amp;#39;Prepare form for next report&amp;#39; which increments the report number, copies the data in [non-repeating]&amp;nbsp;fields labled &amp;#39;current period&amp;#39; to those labled &amp;#39;previous period&amp;#39; then sets the values for the &amp;#39;current period&amp;#39; to all blanks for the user to fill out. Fields not associated with a particular reporting period are preserved. [Fields labled previous reporting period are disabled so that users cannot edit them. the data is retrieved/ computed from previously entered information]&lt;/p&gt;
&lt;p&gt;Issue 1:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What I want to see happening is:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;User&amp;nbsp;submits project information&amp;nbsp;via a new project form&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;User submits the first monthly report via a new monthly reporting form.&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;User opens the&amp;nbsp;previous&amp;nbsp;reporting form from previous reporting period. Uses the &amp;#39;Prepare form for next report&amp;#39; button to move data between fields and clear required space. User fills remaing fields and submits&amp;nbsp;the form. Since the button increments the report number, the form is submitted with a new name. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;If project Is finished quit. Else return to step 3.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;This&amp;nbsp;all happens,&lt;strong&gt; but after the form is submitted under a new name, a popup appears asking if I would like to overwrite the old report. I&lt;/strong&gt; &lt;strong&gt;dont. I dont even&amp;nbsp;want to see that pop up&lt;/strong&gt;. End users will be able screw up old reports unintentionally&amp;nbsp;if they get that option. This popup appears regardless of whether the checkbox to allow overwrite is filled or not. If I could add a rule to save the file under its new name before submitting this problem could be avoided. Can one implement &amp;#39;Save As&amp;#39; as an action via rules without code?&lt;/p&gt;
&lt;p&gt;Issue 2:&lt;/p&gt;
&lt;p&gt;The monthly report includes a repeating table for Project Milestones.&lt;/p&gt;
&lt;p&gt;A project manager can enter as many milestones as he likes. For each milestone we store the following fields in a repeating group named MilestoneRepeater. &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;MilestoneNumber&amp;nbsp;[&lt;font size="1"&gt;count(preceding-sibling::my:MilestoneRepeater)+1&lt;/font&gt;&lt;font size="2"&gt;]&lt;/font&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Name&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;BaselineIn-ServiceDate&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;CurrentReportingPeriodForecastIn-ServiceDate&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;PreviousReportingPeriodForecastIn-ServiceDate &lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Actual In-Service Date&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Comments&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;The entire column of controls under&amp;nbsp;PreviousReportingPeriodForecastIn-ServiceDate&amp;nbsp;are disabled. These fields should only be populated by the &amp;#39;Prepare form for next report&amp;#39; button, which&amp;nbsp;I want to&amp;nbsp;copy the data from each of&amp;nbsp;the CurrentReportingPeriodForecastIn-ServiceDate fields to the PreviousReportingPeriodForecastIn-ServiceDate&amp;nbsp;field on the respective row.&lt;/p&gt;
&lt;p&gt;I thought that using the following&amp;nbsp;action rule would work:&lt;/p&gt;
&lt;p&gt;&amp;#39;When button is pressed. &lt;br /&gt;Set A fields Value. &lt;br /&gt;Field: PreviousReportingPeriodForecastIn-Service Date&amp;nbsp;&lt;br /&gt;To: CurrentReportingPeriodForecastIn-ServiceDate[MilestoneNumber=position()]&lt;/p&gt;
&lt;p&gt;However, all the PreviousReportingPeriodForecastIn-ServiceDate&amp;nbsp;fields are set to what had been entered in the &lt;strong&gt;first&lt;/strong&gt; CurrentReportingPeriodForecastIn-ServiceDate. Thus I lose most of the data.&lt;br /&gt;&lt;br /&gt;How does one copy data from one column to another in a repeating table?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your time spent reading my long plea for help and for any help you can provide.&lt;/p&gt;</description></item></channel></rss>