<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Dynamically filter a stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/71243.aspx</link><pubDate>Thu, 20 Oct 2011 12:47:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71243</guid><dc:creator>jaxkookie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71243.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=71243</wfw:commentRss><description>&lt;p&gt;Thanks Jimmy,&lt;/p&gt;&lt;p&gt;I kinda figured that by the end of the day yesterday. What about filtering the results. I am tring to build cascading dropdowns from an SQL data source. If I cant add form field values in my stored procedure, is there a way to add a rule to filter the returned results, just like you would on other secondary data sources?&lt;/p&gt;</description></item><item><title>Re: Dynamically filter a stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/71237.aspx</link><pubDate>Thu, 20 Oct 2011 05:27:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71237</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71237.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=71237</wfw:commentRss><description>&lt;p&gt;Hello JaxKookie,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t believe InfoPath has a built-in way to dynamically include form field values in stored procedure queries.&amp;nbsp; It is something people are often looking to do, and that&amp;#39;s why we added the ExecuteSqlQuery command to &lt;a href="http://www.qdabra.com/en/products/qRules_new.aspx"&gt;qRules&lt;/a&gt;.&amp;nbsp; I recommend having a look.&lt;/p&gt;</description></item><item><title>Dynamically filter a stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/71223.aspx</link><pubDate>Wed, 19 Oct 2011 15:39:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71223</guid><dc:creator>jaxkookie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71223.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=71223</wfw:commentRss><description>&lt;p&gt;I am using a SQL db for my data source.&amp;nbsp;I have several stored procedures to populate my dropdowns. My first ddl is for regions, and it works perfectly. no filter and it pulls down all the regions to populate the field. I want to use the value of this field to filter my next stored procedure. But I can&amp;#39;t get it to work. If I hard code the region value in my exec statement, it filters perfectly.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;EXEC Get_CPMSupportData_VendorbyRegion &amp;#39;Southeast&amp;#39;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Maybe I am missing the correct syntax.&lt;/p&gt;&lt;p&gt;I tried this:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;EXEC Get_CPMSupportData_VendorbyRegion @Region&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;EXEC Get_CPMSupportData_VendorbyRegion /my:Region.value&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;but neither one works. Any help or suggestion would be greatly appreciated.&lt;/p&gt;</description></item></channel></rss>