<?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: How to launch a new infopath form in a code from another infopath form?</title><link>https://www.infopathdev.com:443/forums/thread/41743.aspx</link><pubDate>Fri, 15 May 2009 00:30:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41743</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41743.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=41743</wfw:commentRss><description>&lt;p&gt;Hi Ram,&lt;/p&gt;
&lt;p&gt;This is a good idea. Have you searched on &amp;quot;passing parameters or passing arguments&amp;quot;? Lots of stuff exists in this forum that explains how to do it. Greg has at least one blog post and so does Jim, although they are quite different. The InfoPath blog by Microsoft also has a post. &lt;/p&gt;
&lt;p&gt;The other way to do it is by writing code inline that updates the DB but that will require SQL permissions if you aren&amp;#39;t using a Web Service.&lt;/p&gt;
&lt;p&gt;You can programmatically update lists in SharePoint without fancy permissions, but you&amp;#39;re using a DB.&lt;/p&gt;
&lt;p&gt;After updating, you&amp;#39;ll have to add a refresh button to requery the DB. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How to launch a new infopath form in a code from another infopath form?</title><link>https://www.infopathdev.com:443/forums/thread/41691.aspx</link><pubDate>Thu, 14 May 2009 04:54:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41691</guid><dc:creator>ramakrishna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41691.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=41691</wfw:commentRss><description>&lt;p&gt;I have a cascading dropdown list in an Infopath form. The DDLs are loaded from the DB; there is no problem in that. &amp;nbsp;But i need to give the user, the ability to add new entires in the dropdowns if they don&amp;#39;t see what they are looking for in the generated list entries. &amp;nbsp;&lt;br /&gt;To do that, I am thinking to add buttons next to the dropdowns and call an another form to fill which submits the data to the DB and refresh the data connection for the corresponding drop down list. &amp;nbsp; I know i can add a rule in the button and select &amp;quot;open new form to fill in&amp;quot;, specify the form template location,... But I need the value of the selected entry in the previous(parent) dropdown to do the proper insert. &amp;nbsp;How can i pass that value &amp;amp; call a new form to fill from the button click event code. &amp;nbsp;Any help would be appreciated. Thanks.&lt;/p&gt;</description></item></channel></rss>