<?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: Help with Cascading Dropdown and SQL</title><link>https://www.infopathdev.com:443/forums/thread/86482.aspx</link><pubDate>Sat, 26 Jan 2013 22:49:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86482</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86482.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=86482</wfw:commentRss><description>&lt;p&gt;Not being able to dynamically parameterize a SQL query is a limitation with out-of-box InfoPath. It is one of the main reasons why we (Qdabra) created DBXL Web service and added support to qRules to do T-SQL queries. You could write your own code, or try one of those gap-fillers. qRules is a common library that includes the code you would need to do it. To use it, you just set a rule and it can then create a parameterized query for you. This is probably the easy approach since qRules trial is free and we can quickly help you with that. DBXL Web service is much more powerful and simple to use but it also requires a server install which may be an issue for you.&lt;/p&gt;&lt;p&gt;If you can&amp;#39;t consider third party products I suggest searching this forum for code snippets. There have been many over the years. That will require that you write code. We can also provide an hour of development support if you need it.&lt;/p&gt;</description></item><item><title>Help with Cascading Dropdown and SQL</title><link>https://www.infopathdev.com:443/forums/thread/86378.aspx</link><pubDate>Thu, 24 Jan 2013 21:43:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86378</guid><dc:creator>smonczka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86378.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=86378</wfw:commentRss><description>&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;I&amp;#39;m using
InfoPath 1020 and a browser based form.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;In SQL i
have a table of Sales Opportunities details. I have created a form based on the
Database Template using that table as the main data source. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;When I query
the data by Opportunity Name, it returns multiple records as there are several
opportunities with the same name. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;To fix this
I am trying to create two query fields. The first drop down shows the Company
Names and the second would only show the Opportunity Names for that company. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;But I cannot
figure out how to filter the Opportunity Name field based on the data in the
returned by the Company Name field. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;The data
source for the Company Name includes a RecID. This same RecID is also in the
Opportunity Details table. I tried filtering the data in the Opportunity Name
field by the RecID but this returns ALL the Opportunities no matter what
Company Name is in the first drop down. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;Any suggestions
on how to filter the data would be appreciated. Thanks. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>