<?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: Update XSN template programmatically</title><link>https://www.infopathdev.com:443/forums/thread/46966.aspx</link><pubDate>Tue, 15 Sep 2009 00:18:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46966</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46966.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46966</wfw:commentRss><description>&lt;p&gt;If you want to push the value from one form into a new form when you open a new form, you&amp;#39;ll need to write code for it. IP doesn&amp;#39;t handle this scenario out of the box.&lt;/p&gt;</description></item><item><title>Re: Update XSN template programmatically</title><link>https://www.infopathdev.com:443/forums/thread/46930.aspx</link><pubDate>Mon, 14 Sep 2009 09:33:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46930</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46930.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46930</wfw:commentRss><description>&lt;p&gt;sorry i dont think that is possible, you cant change the xsn dynamically. Might be somebody knows better, &lt;/p&gt;</description></item><item><title>Re: Update XSN template programmatically</title><link>https://www.infopathdev.com:443/forums/thread/46928.aspx</link><pubDate>Mon, 14 Sep 2009 09:14:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46928</guid><dc:creator>basquang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46928.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46928</wfw:commentRss><description>&lt;p&gt;Thanks Qazi,&amp;nbsp;I understand your solution. Does it must be using &amp;quot;Create a&amp;nbsp;new form programmatically&amp;quot;? Cannot use &amp;quot;Open a new blank form&amp;quot; existed function in InfoPath?&lt;/p&gt;</description></item><item><title>Re: Update XSN template programmatically</title><link>https://www.infopathdev.com:443/forums/thread/46927.aspx</link><pubDate>Mon, 14 Sep 2009 09:01:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46927</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46927.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46927</wfw:commentRss><description>&lt;p&gt;you can write code inside the old form, or you can promote the fields whose values you want. tell me which approach you want&lt;/p&gt;</description></item><item><title>Re: Update XSN template programmatically</title><link>https://www.infopathdev.com:443/forums/thread/46923.aspx</link><pubDate>Mon, 14 Sep 2009 07:21:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46923</guid><dc:creator>basquang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46923.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46923</wfw:commentRss><description>&lt;p&gt;Hi Qazi Anis!&lt;/p&gt;
&lt;p&gt;Thanks for your help! But, how to get value from last form (xml) to set for new form? Do We need access back to last form? Do you have any sample code to cew the new form programmatically?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Update XSN template programmatically</title><link>https://www.infopathdev.com:443/forums/thread/46921.aspx</link><pubDate>Mon, 14 Sep 2009 05:27:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46921</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46921.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46921</wfw:commentRss><description>&lt;p&gt;hi basquang &lt;/p&gt;
&lt;p&gt;well it is possible to set the value fo a drop down programatically, you will have to create the new form programatically. &lt;/p&gt;
&lt;p&gt;when you &amp;nbsp;submit the form, you will have to create the new form (xml) programatically, set the values and then open it.&lt;/p&gt;
&lt;p&gt;you dont have to update XSN, you have to create xml.&lt;/p&gt;</description></item><item><title>Update XSN template programmatically</title><link>https://www.infopathdev.com:443/forums/thread/46920.aspx</link><pubDate>Mon, 14 Sep 2009 02:16:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46920</guid><dc:creator>basquang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46920.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46920</wfw:commentRss><description>&lt;p&gt;Hi Everyone!&lt;/p&gt;
&lt;p&gt;I have got a Drop Down list in InfoPath form. After submit, it create new blank form. I want to set default value for the drop down list programmatically when open the new blank&amp;nbsp;form on the second time, based on the value selected from drop down list before.&lt;/p&gt;
&lt;p&gt;Is it possible and how to do it?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;basquang&lt;/p&gt;</description></item></channel></rss>