<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Cascading Dropdown Help Needed</title><link>https://www.infopathdev.com:443/forums/thread/17050.aspx</link><pubDate>Fri, 21 Oct 2005 20:07:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17050</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17050.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17050</wfw:commentRss><description>Thanks for sharing that. XPath can be very confusing at times.&lt;br /&gt;&lt;br /&gt;There has been numerous times when I've spent an hour or more trying to get an XPath to work the way I thought it should.&lt;br /&gt;&lt;br /&gt;Sometimes I stumble across that "sheer luck" too. Occasionally it drives me nuts. But ultimately when I take time to fully evaluate the working solution, it makes logical sense.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]&lt;br /&gt;InfoPath Dev</description></item><item><title>Re: Cascading Dropdown Help Needed</title><link>https://www.infopathdev.com:443/forums/thread/17049.aspx</link><pubDate>Tue, 18 Oct 2005 15:51:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17049</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17049.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17049</wfw:commentRss><description>I got it--the subfilter I needed was [@System = current()/@System]. I have no idea why it works, and only got there through trial and error and sheer luck, but thought I would share it in case it works for someone else.&lt;br /&gt;&lt;br /&gt;Hilary</description></item><item><title>Re: Cascading Dropdown Help Needed</title><link>https://www.infopathdev.com:443/forums/thread/17048.aspx</link><pubDate>Mon, 17 Oct 2005 20:12:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17048</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17048.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17048</wfw:commentRss><description>Okay--I have reviewed the How To Tutorials, and I have had success when I create an XML file for my secondary data source. My main data source is an Access database. When I try to use my SharePoint List for a secondary source, however, my filter will not work, even after I revise it to reflect the different way the list is referenced as compared to the XML--the XML is referenced as /Configurations/Configuration/@system and the SharePoint list is referenced as /dfs:myFields/dfs:dataFields/dfs:Test/@System. Any ideas? Thanks in advance. . . .&lt;br /&gt;&lt;br /&gt;Hilary</description></item><item><title>Re: Cascading Dropdown Help Needed</title><link>https://www.infopathdev.com:443/forums/thread/17047.aspx</link><pubDate>Tue, 04 Oct 2005 19:02:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17047</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17047.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17047</wfw:commentRss><description>It usually represents the node to which the control is bound. So if your control is a drop-down list box, and it is bound to NodeA... then NodeA should be current(). There are some exceptions, but I believe this should help.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]&lt;br /&gt;InfoPath Dev</description></item><item><title>Re: Cascading Dropdown Help Needed</title><link>https://www.infopathdev.com:443/forums/thread/17046.aspx</link><pubDate>Mon, 03 Oct 2005 22:47:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17046</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17046.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17046</wfw:commentRss><description>So, at the risk of sounding extraordinarily naive, how do I know what node current represents? I was thinking it would represent the value displayed in the dropdown System, and since that system is in my main data source, SourceA, that it would refer to SourceA. . . .&lt;br /&gt;&lt;br /&gt;Hilary</description></item><item><title>Re: Cascading Dropdown Help Needed</title><link>https://www.infopathdev.com:443/forums/thread/17045.aspx</link><pubDate>Mon, 03 Oct 2005 16:59:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17045</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17045.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17045</wfw:commentRss><description>The issue is most likely coming from your filter: [@System=current()/d:SourceA/d:System]. Make certain you know what node current() represents... the XPath following that must be in relation to the actual node represented by current().&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]&lt;br /&gt;InfoPath Dev</description></item><item><title>Cascading Dropdown Help Needed</title><link>https://www.infopathdev.com:443/forums/thread/16745.aspx</link><pubDate>Mon, 03 Oct 2005 16:29:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16745</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16745.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=16745</wfw:commentRss><description>Hi:&lt;br /&gt;&lt;br /&gt;I have read and followed the How To on cascading dropdowns and am still having a problem. I have a main data source, SourceA, which is an Access database and a secondary data source, SourceB, which is a SharePoint list. I am creating a form for data entry into my Access database. I want to have cascading dropdowns that are based on my SharePoint list (secondary data source, SourceB) the user can select from to enter data into the database (SourceA). My first dropdown is System. Since I only want unique values, I have the following filter on it: not(.=../preceding::dfs:SourceB/@System). My second dropdown is Belt Type. I have the following filter on it: not(.=../preceding::dfs:SourceB[@System=current()/d:SourceA/d:System]/@Belt_Type)&lt;br /&gt;When I select the first system in the list, there are three unique belt types available, which is correct. When I choose the second system in the list, there are no belt types available, which is incorrect. The second system uses one of the same belt types that is used by the first system. I know that there is a problem with my filter, but I am unsure what it could be. Any help is greatly appreciated.&lt;br /&gt;&lt;br /&gt;Thanks--&lt;br /&gt;&lt;br /&gt;Hilary</description></item></channel></rss>