<?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: Infopath2007 opens a second form and copies certain data from first</title><link>https://www.infopathdev.com:443/forums/thread/39909.aspx</link><pubDate>Tue, 24 Mar 2009 14:43:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39909</guid><dc:creator>PhilNy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39909.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=39909</wfw:commentRss><description>&lt;p&gt;This looks great. This is the first coding that I&amp;#39;ve done with IP07 so I&amp;#39;ll have to fool around a bit but the options you have - esp. removing signatures are super. I think this will interest a lot of people. Many Thanks! Phil&lt;/p&gt;</description></item><item><title>Re: Infopath2007 opens a second form and copies certain data from first</title><link>https://www.infopathdev.com:443/forums/thread/39876.aspx</link><pubDate>Mon, 23 Mar 2009 20:16:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39876</guid><dc:creator>Petronomicon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39876.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=39876</wfw:commentRss><description>&lt;p&gt;Sorry&amp;nbsp; - yes, you would have to write the script to perform the actions I described above.&lt;/p&gt;
&lt;p&gt;Below is the code associated with the Copy Button (with the id of deletesignature)&lt;/p&gt;
&lt;p&gt;function deletesignature::OnClick(eventObj) { &lt;/p&gt;
&lt;p&gt;var vContinue;&lt;/p&gt;
&lt;p&gt;vContinue = XDocument.UI.Confirm(&amp;quot;This original form will be saved and closed.\r&amp;quot; + &amp;quot;In the copied form, status will be reset and digital signatures will be deleted .\r&amp;quot; + &amp;quot;Do you wish to continue?&amp;quot;,4); &lt;/p&gt;
&lt;p&gt;if (vContinue == 6) // if the user clicked &amp;quot;YES&amp;quot;. { &lt;/p&gt;
&lt;p&gt;CopyForm();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;}&lt;/p&gt;
&lt;p&gt;function CopyForm() { &lt;/p&gt;
&lt;p&gt;var vNewDate = new Date(); &lt;/p&gt;
&lt;p&gt;var xDateTime = XDocument.DOM.selectSingleNode(&amp;quot;/my:ChangeForm/my:General_Information/my:DateTime&amp;quot;); &lt;/p&gt;
&lt;p&gt;var xStatus = XDocument.DOM.selectSingleNode(&amp;quot;/my:ChangeForm/my:General_Information/my:Status&amp;quot;); &lt;/p&gt;
&lt;p&gt;var vCt1 = XDocument.SignedDataBlocks.Count &lt;/p&gt;
&lt;p&gt;var xSDBs = XDocument.SignedDataBlocks; &lt;/p&gt;
&lt;p&gt;var rc = 0; &lt;/p&gt;
&lt;p&gt;imo = vNewDate.getMonth() + 1; &lt;/p&gt;
&lt;p&gt;id = vNewDate.getDate(); &lt;/p&gt;
&lt;p&gt;iy = vNewDate.getFullYear(); &lt;/p&gt;
&lt;p&gt;ih = vNewDate.getHours(); &lt;/p&gt;
&lt;p&gt;imin = vNewDate.getMinutes(); &lt;/p&gt;
&lt;p&gt;isec = vNewDate.getSeconds(); &lt;/p&gt;
&lt;p&gt;if (id &amp;lt; 10) id = &amp;#39;0&amp;#39; + id; &lt;/p&gt;
&lt;p&gt;if (imo &amp;lt; 10) imo = &amp;#39;0&amp;#39; + imo; &lt;/p&gt;
&lt;p&gt;if (ih &amp;lt; 10) ih = &amp;#39;0&amp;#39; + ih; &lt;/p&gt;
&lt;p&gt;if (imin &amp;lt; 10) imin = &amp;#39;0&amp;#39; + imin; &lt;/p&gt;
&lt;p&gt;if (isec &amp;lt; 10) isec = &amp;#39;0&amp;#39; + isec; &lt;/p&gt;
&lt;p&gt;vdt = iy + &amp;quot;-&amp;quot; + imo + &amp;quot;-&amp;quot; + id + &amp;quot;T&amp;quot; + ih + &amp;quot;_&amp;quot; + imin + &amp;quot;_&amp;quot; + isec; &lt;/p&gt;
&lt;p&gt;rc = SubmitForm(); &lt;/p&gt;
&lt;p&gt;// submit the old form. &lt;/p&gt;
&lt;p&gt;if ((rc == 200) || (rc == 201)) { &lt;/p&gt;
&lt;p&gt;XDocument.UI.Alert(&amp;quot;The original form was saved! You are now working on a copy.\r If you get the Digital Signature popup, please &amp;#39;Remove&amp;#39; all signatures.&amp;quot;); } &lt;/p&gt;
&lt;p&gt;else { // eventObj.ReturnStatus = false; &lt;/p&gt;
&lt;p&gt;XDocument.UI.Alert(&amp;quot;There were problems submitting your form. Error Code &amp;quot; + rc); return; }&amp;nbsp;&lt;/p&gt;
&lt;p&gt;xDateTime.text = vdt; // Phil - this is one of the fields used in the name of the form.&amp;nbsp; It gets set to the current date/time to create a new record, even if the user leaves the &amp;quot;Title&amp;quot; field the same.&lt;/p&gt;
&lt;p&gt;xStatus.text = &amp;quot;Planning&amp;quot;; // Phil - this field is being set to its initial value.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;// Clear out any &amp;#39;submitted&amp;#39; IAF tasks and task numbers from the Web Application view. &lt;/p&gt;
&lt;p&gt;var xSubmitted = XDocument.DOM.selectNodes(&amp;quot;/my:ChangeForm/my:Web_App_Group/my:JVM_R_Section/my:JVM_Key/my:Submitted&amp;quot;); &lt;/p&gt;
&lt;p&gt;var xTask_Number = XDocument.DOM.selectNodes(&amp;quot;/my:ChangeForm/my:Web_App_Group/my:JVM_R_Section/my:JVM_Key/my:Task_Number&amp;quot;); &lt;/p&gt;
&lt;p&gt;for(var i=0;i&amp;lt;=(xSubmitted.length - 1); i++) { &lt;/p&gt;
&lt;p&gt;xSubmitted.item(i).text = &amp;quot;&amp;quot;; &lt;/p&gt;
&lt;p&gt;xTask_Number.item(i).text = &amp;quot;&amp;quot;; } &lt;/p&gt;
&lt;p&gt;// if there are any Digital Signatures, loop until they are removed. &lt;/p&gt;
&lt;p&gt;do { var j = 0; for(var i=0;i&amp;lt;=(vCt1 - 1);i++) { &lt;/p&gt;
&lt;p&gt;j = j + xSDBs(i).Signatures.Count; } &lt;/p&gt;
&lt;p&gt;if (j &amp;gt; 0) XDocument.UI.ShowSignatureDialog(); } &lt;/p&gt;
&lt;p&gt;while (j &amp;gt; 0); }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;// end of code&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Obviously this may not all fit with your application and you&amp;#39;ll need to make some coding changes.&amp;nbsp; This code above resets a status, and some fields that once entered, are protected.&amp;nbsp; Otherwise it leaves everything else in tact, and the user has&amp;nbsp;a complete copy of a previous form - this is very beneficial if the user entered a large amount of data and does not want to enter it in again on a new form.&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>Re: Infopath2007 opens a second form and copies certain data from first</title><link>https://www.infopathdev.com:443/forums/thread/39875.aspx</link><pubDate>Mon, 23 Mar 2009 19:57:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39875</guid><dc:creator>PhilNy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39875.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=39875</wfw:commentRss><description>&lt;p&gt;That sounds great, but is there a script for this that&amp;nbsp;is then attached to a custom button? I don&amp;#39;t see a Copy button by default anywhere in my forms - only Submit on the toolbar. Looking at the available built-in button actions I don&amp;#39;t see Copy among them there, either. I am able to clear &amp;amp; reset values in a form but just don&amp;#39;t see&amp;nbsp;the Copy action. Thanks! Phil&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Infopath2007 opens a second form and copies certain data from first</title><link>https://www.infopathdev.com:443/forums/thread/39857.aspx</link><pubDate>Mon, 23 Mar 2009 15:53:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39857</guid><dc:creator>Petronomicon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39857.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=39857</wfw:commentRss><description>&lt;p&gt;Phil - the form I used to do this does not use any primary keys or databases, just information stored in SharePoint Lists.&lt;/p&gt;
&lt;p&gt;The copy function is a button in all existing forms.&amp;nbsp; This is the process when you press it.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Pushing the copy button saves the existing form.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;It then will continuously prompt you to remove all digital signatures until they are all gone.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;It then resets&amp;nbsp;a date-time field that was used to create the original form (the one that was saved in step 1) to the current date and time.&amp;nbsp; &lt;br /&gt;This is needed for my forms as the other field used to create the form name could be duplicated - which would cause an overlay situation if not reset.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;All other fields remain untouched, but when you then save this form, it creates a new form for you.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;You could obviously modify the script to keep or erase whatever fields you want when you push the &amp;quot;Copy Form&amp;quot; button.&lt;/p&gt;
&lt;p&gt;Hope this helps. &lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>Re: Infopath2007 opens a second form and copies certain data from first</title><link>https://www.infopathdev.com:443/forums/thread/39760.aspx</link><pubDate>Fri, 20 Mar 2009 01:56:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39760</guid><dc:creator>Petronomicon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39760.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=39760</wfw:commentRss><description>&lt;p&gt;Hi Phil - I&amp;#39;m on vacation now but will reply when I return to work on the 23rd.&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>Re: Infopath2007 opens a second form and copies certain data from first</title><link>https://www.infopathdev.com:443/forums/thread/39573.aspx</link><pubDate>Mon, 16 Mar 2009 14:06:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39573</guid><dc:creator>PhilNy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39573.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=39573</wfw:commentRss><description>&lt;p&gt;This issue is close to a problem that I&amp;#39;m having. I have an IP 2007 form built on an MS SQL 2005 DB. I&amp;#39;m able to create, update &amp;amp; delete records just fine. But - I&amp;#39;d like to be able to query for an existing record, edit it (including removing primary key data&amp;nbsp; - as the PK uses IDENTITY to create new keys) and then submit to create a new record. I don&amp;#39;t want to use a New Record button as it clears all the fields and makes our data entry people have to type in every field value again. I wrote a simple JScript to clear the key fields (actually, the form works with four tables - the root and then three others linked PK-FK)&amp;nbsp;but I&amp;#39;d then like to save the rest of the fields, then effectively&amp;nbsp;create&amp;nbsp;a&amp;nbsp;New Record and then paste the&amp;nbsp;old field values into the new record. They then could be edited &amp;amp; then submitted as a brand new record. This seems like something that a lot of poeple would be doing but so far I&amp;#39;ve not seen these operations described in any blogs or discussion lists. Many Thanks in advance. Phil&lt;/p&gt;</description></item><item><title>Re: Infopath2007 opens a second form and copies certain data from first</title><link>https://www.infopathdev.com:443/forums/thread/39017.aspx</link><pubDate>Fri, 27 Feb 2009 17:33:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39017</guid><dc:creator>Petronomicon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39017.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=39017</wfw:commentRss><description>&lt;p&gt;Certainly.&amp;nbsp; It&amp;#39;s in JScript tho - sorry :(&lt;/p&gt;
&lt;p&gt;function deletesignature::OnClick(eventObj) &lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&amp;nbsp;var vContinue;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;vContinue = XDocument.UI.Confirm(&amp;quot;This original form will be saved and closed.\r&amp;quot; + &amp;quot;In the copied form, status will be reset and digital signatures will be deleted .\r&amp;quot; + &amp;quot;Do you wish to continue?&amp;quot;,4);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;if (vContinue == 6) // if the user clicked &amp;quot;YES&amp;quot;. { CopyForm(); }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;}&lt;/p&gt;
&lt;p&gt;function CopyForm() { &lt;/p&gt;
&lt;p&gt;var vNewDate = new Date(); &lt;/p&gt;
&lt;p&gt;var xDateTime = XDocument.DOM.selectSingleNode(&amp;quot;/my:ChangeForm/my:General_Information/my:DateTime&amp;quot;); &lt;/p&gt;
&lt;p&gt;var xStatus = XDocument.DOM.selectSingleNode(&amp;quot;/my:ChangeForm/my:General_Information/my:Status&amp;quot;); &lt;/p&gt;
&lt;p&gt;var vCt1 = XDocument.SignedDataBlocks.Count &lt;/p&gt;
&lt;p&gt;var xSDBs = XDocument.SignedDataBlocks; &lt;/p&gt;
&lt;p&gt;var rc = 0; &lt;/p&gt;
&lt;p&gt;imo = vNewDate.getMonth() + 1; &lt;/p&gt;
&lt;p&gt;id = vNewDate.getDate(); &lt;/p&gt;
&lt;p&gt;iy = vNewDate.getFullYear(); &lt;/p&gt;
&lt;p&gt;ih = vNewDate.getHours(); &lt;/p&gt;
&lt;p&gt;imin = vNewDate.getMinutes(); &lt;/p&gt;
&lt;p&gt;isec = vNewDate.getSeconds(); &lt;/p&gt;
&lt;p&gt;if (id &amp;lt; 10) id = &amp;#39;0&amp;#39; + id; &lt;/p&gt;
&lt;p&gt;if (imo &amp;lt; 10) imo = &amp;#39;0&amp;#39; + imo; &lt;/p&gt;
&lt;p&gt;if (ih &amp;lt; 10) ih = &amp;#39;0&amp;#39; + ih; &lt;/p&gt;
&lt;p&gt;if (imin &amp;lt; 10) imin = &amp;#39;0&amp;#39; + imin; &lt;/p&gt;
&lt;p&gt;if (isec &amp;lt; 10) isec = &amp;#39;0&amp;#39; + isec; &lt;/p&gt;
&lt;p&gt;vdt = iy + &amp;quot;-&amp;quot; + imo + &amp;quot;-&amp;quot; + id + &amp;quot;T&amp;quot; + ih + &amp;quot;_&amp;quot; + imin + &amp;quot;_&amp;quot; + isec; &lt;/p&gt;
&lt;p&gt;rc = SubmitForm(); &lt;/p&gt;
&lt;p&gt;// submit the old form. &lt;/p&gt;
&lt;p&gt;if ((rc == 200) || (rc == 201)) {&amp;nbsp;&lt;/p&gt;
&lt;p&gt;XDocument.UI.Alert(&amp;quot;The original form was saved! You are now working on a copy.\r If you get the Digital Signature popup, please &amp;#39;Remove&amp;#39; all signatures.&amp;quot;); } &lt;/p&gt;
&lt;p&gt;else {&lt;/p&gt;
&lt;p&gt;XDocument.UI.Alert(&amp;quot;There were problems submitting your form. Error Code &amp;quot; + rc); &lt;/p&gt;
&lt;p&gt;return; }&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;xDateTime.text = vdt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;xStatus.text = &amp;quot;Planning&amp;quot;;&lt;/p&gt;
&lt;p&gt;// if there are any Digital Signatures, loop until they are removed. &lt;/p&gt;
&lt;p&gt;do { &lt;/p&gt;
&lt;p&gt;var j = 0; for(var i=0;i&amp;lt;=(vCt1 - 1);i++)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;{ j = j + xSDBs(i).Signatures.Count; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;if (j &amp;gt; 0) XDocument.UI.ShowSignatureDialog(); &lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;while (j &amp;gt; 0);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;}&lt;/p&gt;
&lt;p&gt;Hope you find it helpful.&lt;/p&gt;</description></item><item><title>Re: Infopath2007 opens a second form and copies certain data from first</title><link>https://www.infopathdev.com:443/forums/thread/39015.aspx</link><pubDate>Fri, 27 Feb 2009 17:23:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39015</guid><dc:creator>wil7575_newUser</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39015.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=39015</wfw:commentRss><description>&lt;p&gt;Thanks for the info.&lt;/p&gt;
&lt;p&gt;I was able to copy to clipboard and open new form. I can paste the 1 field manually but was looking for an automated way.&lt;/p&gt;
&lt;p&gt;But if you can reply with the code for your sugestion it would be appreciated. By the way its only for 1 field. Thanks!&lt;/p&gt;</description></item><item><title>Re: Infopath2007 opens a second form and copies certain data from first</title><link>https://www.infopathdev.com:443/forums/thread/39014.aspx</link><pubDate>Fri, 27 Feb 2009 17:14:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39014</guid><dc:creator>Petronomicon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39014.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=39014</wfw:commentRss><description>&lt;p&gt;Hi Wil&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not certain you can open a new form, then copy data from old form to new form programmatically as the new form would have a different working storage area on your hard disk.&lt;/p&gt;
&lt;p&gt;Regardless, I&amp;#39;ll explain a similar situation I do for my users.&amp;nbsp; They wanted to copy a form, data and all, to a new form with the click of a button.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;What happens is they click a button, the background script saves the form they have open&amp;nbsp;and keeps it open.&amp;nbsp; The script also modifies a date field that is used in the creation of new forms so when they save again, a new form is created instead of overlaying the original form they opened.&amp;nbsp; The script also runs through the digital signatures and forces the user to delete them before they can continue.&lt;/p&gt;
&lt;p&gt;You could use this method to clear out fields you didn&amp;#39;t need (similar to the way I run through the digital signatures) and the user would have a new form with only the fields they need copied.&lt;/p&gt;
&lt;p&gt;Let me know if you want more info on how this is done.&lt;/p&gt;
&lt;p&gt;Petro&lt;/p&gt;</description></item><item><title>Re: Infopath2007 opens a second form and copies certain data from first</title><link>https://www.infopathdev.com:443/forums/thread/38990.aspx</link><pubDate>Thu, 26 Feb 2009 20:02:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38990</guid><dc:creator>wil7575_newUser</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38990.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=38990</wfw:commentRss><description>&lt;p&gt;With the help of Jimmy from this Forum, I was able to Copy the selected data &amp;amp; add it to the clipboard in Visual Basic.&lt;/p&gt;
&lt;p&gt;However, when&amp;nbsp;infopath2 is automatically opened, I want to PASTE the data -on clipboard-&amp;nbsp;to very first null field.&lt;/p&gt;Its been a long week and I have no working solution. I even tried using &lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;
&lt;p&gt;SendKeys.Send(&amp;quot;^v&amp;quot;)&lt;/p&gt;
&lt;p&gt;But thats just gives me a bunch of security errors. Search engines comes back with no answers. Any assistance would be appreciated.&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: Infopath2007 opens a second form and copies certain data from first</title><link>https://www.infopathdev.com:443/forums/thread/38744.aspx</link><pubDate>Sat, 21 Feb 2009 04:35:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38744</guid><dc:creator>wil7575_newUser</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38744.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=38744</wfw:commentRss><description>&lt;p&gt;maybe I should ask the question differently? I have gotten no replies.&lt;/p&gt;&lt;p&gt;Assistance appreciated, thanks&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Infopath2007 opens a second form and copies certain data from first</title><link>https://www.infopathdev.com:443/forums/thread/38698.aspx</link><pubDate>Fri, 20 Feb 2009 15:31:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38698</guid><dc:creator>wil7575_newUser</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38698.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=38698</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;
&lt;p&gt;I have Infopath 2007 form called Form1 linked to a access database. When a certain list box is selected to YES then this triggers Form2 to open.&lt;/p&gt;
&lt;p&gt;How can I copy CERTAIN fields from Form1 to Form2 that was just entered? Using Visual Basic?&lt;/p&gt;
&lt;p&gt;Or is it easier to do this another way?&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>