<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Cascading DDListboxes</title><link>https://www.infopathdev.com:443/forums/thread/25947.aspx</link><pubDate>Fri, 25 Jan 2008 22:41:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25947</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25947.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=25947</wfw:commentRss><description>&lt;p&gt;Foobar, Hi&lt;/p&gt;&lt;p&gt;Could you not just write a web service as a straight link to your datasource, that would do the job perfectly well.&lt;/p&gt;&lt;p&gt;The DBXL tool is great and can be used for so much more.&lt;/p&gt;&lt;p&gt;Cheers&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Cascading DDListboxes</title><link>https://www.infopathdev.com:443/forums/thread/25850.aspx</link><pubDate>Wed, 23 Jan 2008 09:35:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25850</guid><dc:creator>foobar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25850.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=25850</wfw:commentRss><description>Thanks Clayfox,

Just downloaded it so will spend the morning playing around with it.

Regards</description></item><item><title>Re: Cascading DDListboxes</title><link>https://www.infopathdev.com:443/forums/thread/25836.aspx</link><pubDate>Tue, 22 Jan 2008 21:44:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25836</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25836.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=25836</wfw:commentRss><description>&lt;p&gt;Hey there. Welcome to the forum.&lt;/p&gt;
&lt;p&gt;You are trying to create a dynamic query, which I have seen done with a hack but I am not sure it could work in a browser based form.&lt;/p&gt;
&lt;p&gt;I have a better solution for you...Web Services.&lt;/p&gt;
&lt;p&gt;Check out the Database Accelerator Package of Web Services.&lt;a href="http://www.infopathdev.com/files/folders/dbxldownload/entry19957.aspx" target="_blank"&gt;Qdabra Database Accelerator Suite Version 2.1 - Developer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;With it, you can create dynamic SQL queries which is what you are after.&amp;nbsp;&amp;nbsp;Being able to actually query secondary data sources&amp;nbsp;is a must with large tables as you have found.&amp;nbsp; DBXL also includes the ability to submit data back to SQL via webservices.&lt;/p&gt;
&lt;p&gt;It can all work with Browser Based forms and there are webparts and other add-ons available.&lt;/p&gt;
&lt;p&gt;If you would like a demonstration let me know.&lt;/p&gt;</description></item><item><title>Cascading DDListboxes</title><link>https://www.infopathdev.com:443/forums/thread/25828.aspx</link><pubDate>Tue, 22 Jan 2008 18:32:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25828</guid><dc:creator>foobar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25828.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=25828</wfw:commentRss><description>&lt;p&gt;Firstly I apologize if this has already been brought up - and if it has I would appreciate a link to said topic :)&lt;/p&gt;&lt;p&gt;My scenario: &lt;/p&gt;&lt;p&gt;I have a SQL database, containing 1 sizable table (550+ rows)&amp;nbsp; with 5 columns. I have no problem adding this to a form and so on - and can implement what I want to achieve using multiple data connections (and manually editing the SQL). But this solution isn&amp;#39;t very flexible if new rows with different data are added to the database.&lt;/p&gt;&lt;p&gt;What I want to achieve is when an item is selected from a drop-down listbox, a subsequent drop-down listbox is made visible to the user that filters the data from the database to fit to parameters set by the first drop-down listbox, and so on propagating to the subsequent list boxes.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;eg.&lt;/p&gt;&lt;p&gt;//during initialization of the form&amp;nbsp;&lt;/p&gt;&lt;p&gt;sql_query as string; //global var&lt;br /&gt;sql_query = &amp;quot;SELECT col_name FROM tbl_name WHERE col1 = &amp;#39;item&amp;#39;&amp;quot;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;dropdown_list_changedevent(.....)&lt;/p&gt;&lt;p&gt;{&lt;/p&gt;&lt;p&gt;dim col_name as string; //holds what the column name is, will be different for each changedevent&lt;/p&gt;&lt;p&gt;col_name = &amp;quot;col1&amp;quot;&amp;nbsp;&lt;/p&gt;&lt;p&gt;buildquery(e.NewValue,&amp;nbsp; col_name)&lt;/p&gt;&lt;p&gt;//do something to make the query run&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;function buildquery( NewValue as XmlEventArgs, col_name as string)&amp;nbsp;&lt;/p&gt;&lt;p&gt;{&lt;/p&gt;&lt;p&gt;sql_query += &amp;quot; AND &amp;quot; &amp;amp; col_name &amp;amp; &amp;quot; = &amp;#39;&amp;quot; &amp;amp; NewValue.ToString&lt;/p&gt;&lt;p&gt;}&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It may also be worth mentioning this would be for use as a form from SharePoint, and therefore would have the reduced functionality associated with the browser-only forms.&lt;/p&gt;&lt;p&gt;Is such functionality possible or would I have to resort to using my previous solution?&lt;/p&gt;&lt;p&gt;Regards&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>