<?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: Can you copy an attachment from one form to another?</title><link>https://www.infopathdev.com:443/forums/thread/28672.aspx</link><pubDate>Fri, 09 May 2008 23:19:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28672</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28672.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28672</wfw:commentRss><description>&lt;p&gt;Great. This should work for you. Once you have the handle to the XDocument of the other form, you can code to it just the same as you do the XDocument of your current form. So if you want to copy&amp;nbsp;a value from one XDocument to the other, that&amp;#39;s no problem.&lt;/p&gt;</description></item><item><title>Re: Can you copy an attachment from one form to another?</title><link>https://www.infopathdev.com:443/forums/thread/28646.aspx</link><pubDate>Fri, 09 May 2008 07:51:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28646</guid><dc:creator>grahamC</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28646.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28646</wfw:commentRss><description>hi Greg, yes it is all written in the vbscript in the code behind. I will look into this, thankyou !</description></item><item><title>Re: Can you copy an attachment from one form to another?</title><link>https://www.infopathdev.com:443/forums/thread/28639.aspx</link><pubDate>Thu, 08 May 2008 23:40:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28639</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28639.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28639</wfw:commentRss><description>&lt;p&gt;Are you using Code to open the new form instance? If so, the call to open will return a handle to an XDocument to the new form, and you can write code to copy the attachment value from the current form into the new form using the returned XDocument handle.&lt;/p&gt;</description></item><item><title>Can you copy an attachment from one form to another?</title><link>https://www.infopathdev.com:443/forums/thread/28621.aspx</link><pubDate>Thu, 08 May 2008 14:43:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28621</guid><dc:creator>grahamC</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28621.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28621</wfw:commentRss><description>&lt;p&gt;We have a situation where,&amp;nbsp;on our journal posting workflow we want a copy of the infopath form AND a copy of the attachment. Journal posting&amp;nbsp;workflows always have an excel attachment but if the posting needs to be reversed all the detail in the infopath is the same except the attachment needs to show -ive values instead of +ive ones. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;So we have a button to &amp;quot;copy this form&amp;quot; and&amp;nbsp;a new instance of the infopath is created with all fields filled in as before... is there an easy way to copy the excel attachment to the new copy (the values in this would be amended by a macro within the form). Obviously the work around is just for the user to save the attachment somewhere else then re-attach to the new form, but it would be nicer if the whole thing (infopath and excel) was copied on the new instance. &lt;/p&gt;
&lt;p&gt;Would be grateful for any help on this please !!&lt;/p&gt;</description></item></channel></rss>