<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Passing Back Info</title><link>https://www.infopathdev.com:443/forums/thread/24635.aspx</link><pubDate>Wed, 21 Nov 2007 22:46:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24635</guid><dc:creator>djay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24635.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=24635</wfw:commentRss><description>&lt;p&gt;Works fine.&amp;nbsp; I just added a tag to each templates XML to name it.&amp;nbsp; And I search through the collection for the correct form.&lt;/p&gt;
&lt;p&gt;You could probobly search through looking for the InfoPath generated unique identifyer, but thats not nearly as maintainable.&lt;/p&gt;</description></item><item><title>Re: Passing Back Info</title><link>https://www.infopathdev.com:443/forums/thread/24615.aspx</link><pubDate>Wed, 21 Nov 2007 16:12:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24615</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24615.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=24615</wfw:commentRss><description>&lt;p&gt;Sounds like a good idea! Please let us know how it goes... I have never tried to do this before and am interested to see how you get it to work.&lt;/p&gt;</description></item><item><title>Passing Back Info</title><link>https://www.infopathdev.com:443/forums/thread/24534.aspx</link><pubDate>Mon, 19 Nov 2007 00:30:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24534</guid><dc:creator>djay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24534.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=24534</wfw:commentRss><description>&lt;p&gt;I have a form, you see.&amp;nbsp; Which opens this other form.&lt;/p&gt;
&lt;p&gt;Now, this first form needs to know if the second form is properly completed.&amp;nbsp; I can pass info into the second form no problem.&amp;nbsp; But is there a way to pass info back up to the first form without setting up a polling loop or some other messy hack?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;-------------------------------------------------------------------------------&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Well, the moment I hit submit I had an idea.&amp;nbsp; Funny how that happens.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can get the XDocument for any open form using thisApplication.XDocuments collection.&lt;/p&gt;
&lt;p&gt;Kinda obvious seeing as how I used that collection to open the second document...&lt;/p&gt;</description></item></channel></rss>