<?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: Repeating Section Oddity</title><link>https://www.infopathdev.com:443/forums/thread/9108.aspx</link><pubDate>Thu, 23 Feb 2006 01:26:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9108</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9108.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9108</wfw:commentRss><description>Hello&lt;br /&gt;  Have you tried using preceding-sibling to get the value of the previous node and use that to set the second node. You can get more information on preceding-sibling axis at&lt;a target="_blank" href=http://www.infopathdev.com/howto/tips/default.aspx?i=2d9c464bbf4146ae91bf66395dca34ad&gt;http://www.infopathdev.com/howto/tips/default.aspx?i=2d9c464bbf4146ae91bf66395dca34ad&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Shanthi&lt;br /&gt;InfoPath Dev India</description></item><item><title>Re: Repeating Section Oddity</title><link>https://www.infopathdev.com:443/forums/thread/9107.aspx</link><pubDate>Fri, 17 Feb 2006 20:46:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9107</guid><dc:creator>jhadley</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9107.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9107</wfw:commentRss><description>I have tried both.&lt;br /&gt;The blanking rule makes no differance as the secondary field is blank to start with.&lt;br /&gt;&lt;br /&gt;the current() function does not return any data at all correct or not.&lt;br /&gt;&lt;br /&gt;here is the code from the rule&lt;br /&gt;&lt;br /&gt;xdXDocument:GetDOM("Vendor Contacts")/dfs:myFields/dfs:dataFields/dfs:Vendor_Contacts/@E-mail_Address[../@Company = xdXDocument:get-DOM()/my:MainData/my:Fields_for_2-Product-Specs-sub/my:bidinfo/@my:VendorName]</description></item><item><title>Re: Repeating Section Oddity</title><link>https://www.infopathdev.com:443/forums/thread/9106.aspx</link><pubDate>Fri, 17 Feb 2006 15:10:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9106</guid><dc:creator>ahardin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9106.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9106</wfw:commentRss><description>Have you thought of using the current() function which tells the database which row to check against.&lt;br /&gt;&lt;br /&gt;One other thing you could do is to set a rule on line instert that clears both the cells out to prevent and data holdover from the previous row&lt;br /&gt;&lt;br /&gt;Cheers Adam&lt;br /&gt;&lt;br /&gt;I'm from WALES&lt;br /&gt;adam.harding@ltsbasset.co.uk</description></item><item><title>Repeating Section Oddity</title><link>https://www.infopathdev.com:443/forums/thread/5370.aspx</link><pubDate>Thu, 16 Feb 2006 20:32:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5370</guid><dc:creator>jhadley</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5370.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5370</wfw:commentRss><description>I have a form with a repeating section in it.&lt;br /&gt;in the repeating section I have a dropdown field that pulls data from a SQL database, all works as it should.&lt;br /&gt;On the dropdown filed I have a rule that sets the value of a second field based on the selection.&lt;br /&gt;The data for the second field is in the same database as the selection options for the drop down, all works as it should!&lt;br /&gt;&lt;br /&gt;&lt;font color="navy"&gt;Now the oddity&lt;/font id="navy"&gt;....&lt;br /&gt;when I insert a second record in the repeating section the drop down behaves as it should and list all options it should BUT&lt;br /&gt;The rule that sets the value in the second field does not&lt;br /&gt;If the name I pick in the dropdown is alphabetically before the previous selected name all is well but if it is after the previously selected name it returns the value as if I had selected the first name.&lt;br /&gt;&lt;br /&gt;DATA:&lt;br /&gt;&lt;br /&gt;AMBER,1&lt;br /&gt;BLUE,2&lt;br /&gt;CYAN,3&lt;br /&gt;&lt;br /&gt;example&lt;br /&gt;&lt;br /&gt;&lt;i&gt;First Section&lt;/i&gt;&lt;br /&gt;Color: BLUE      Number: 2&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Second Section&lt;/i&gt;&lt;br /&gt;Color: AMBER     Number: 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;First Section&lt;/i&gt;&lt;br /&gt;Color: BLUE      Number: 2&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Second Section&lt;/i&gt;&lt;br /&gt;Color: CYAN      Number: 2&lt;br /&gt;&lt;br /&gt;Any Ideas? I am about ready to call Microsoft.</description></item></channel></rss>