<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Repeating Expression Box from Secondary DS in Main DS Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/20430.aspx</link><pubDate>Tue, 05 Jun 2007 20:09:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20430</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20430.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=20430</wfw:commentRss><description>Great! Glad to have been of some assistance.</description></item><item><title>Re: Repeating Expression Box from Secondary DS in Main DS Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/20406.aspx</link><pubDate>Tue, 05 Jun 2007 12:23:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20406</guid><dc:creator>Iurii.Sas</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20406.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=20406</wfw:commentRss><description>&lt;p&gt;Thanks, Greg!!!&lt;/p&gt;&lt;p&gt;It was very useful.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Repeating Expression Box from Secondary DS in Main DS Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/20361.aspx</link><pubDate>Mon, 04 Jun 2007 16:38:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20361</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20361.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=20361</wfw:commentRss><description>&lt;p&gt;Do a little research on the XPath function: current()&lt;/p&gt;&lt;p&gt;This will help you accomplish what you want to do. Your XPath above would be &lt;u&gt;something like&lt;/u&gt; (not necessarily exactly like):&lt;/p&gt;&lt;strong&gt;xdXDocument:GetDOM(&amp;quot;v1&amp;quot;)/dfs:myFields/dfs:dataFields/d:v1/@Value[../@ID = current()/@ID]&lt;/strong&gt; &lt;p&gt;Hope this helps.&lt;/p&gt;</description></item><item><title>Re: Repeating Expression Box from Secondary DS in Main DS Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/20291.aspx</link><pubDate>Thu, 31 May 2007 06:59:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20291</guid><dc:creator>Iurii.Sas</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20291.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=20291</wfw:commentRss><description>&lt;p&gt;Greg, thank for advise.&lt;/p&gt;&lt;p&gt;But I don&amp;#39;t know how I can take current row ID in t1.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I used such expression:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;xdXDocument:GetDOM(&amp;quot;v1&amp;quot;)/dfs:myFields/dfs:dataFields/d:v1/@Value[../@ID
= xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/d:t1/@ID]&lt;/strong&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;But this expression box displays value from v1 that matches with first ID in t1 for all rows.&lt;/p&gt;&lt;p&gt;What do I wrong?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Repeating Expression Box from Secondary DS in Main DS Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/20276.aspx</link><pubDate>Wed, 30 May 2007 16:36:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20276</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20276.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=20276</wfw:commentRss><description>&lt;p&gt;You will need to use filters on v1 field to make sure they key correctly to the current row.&lt;/p&gt;&lt;p&gt;i.e. you would place your expression box in the table row, and then add a filter to the expression box such that the v1 key matches the key of the current row.&lt;/p&gt;</description></item><item><title>Repeating Expression Box from Secondary DS in Main DS Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/20267.aspx</link><pubDate>Wed, 30 May 2007 15:50:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20267</guid><dc:creator>Iurii.Sas</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20267.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=20267</wfw:commentRss><description>&lt;p&gt;Hi!&lt;br /&gt;Help please!&lt;br /&gt;I&amp;#39;m developing InfoPath form for editing data in MS SQL Server 2005&lt;br /&gt;DB (directly connected).&lt;/p&gt;&lt;p&gt;&lt;br /&gt;I have table (t1) with data and view (v1) which calculates special&lt;br /&gt;values for each row of table (t1).&lt;br /&gt;&lt;br /&gt;I want to display in repeating InfoPath table data from t1 and&lt;br /&gt;corresponding values for each row from v1 with ability to edit data in&lt;br /&gt;t1. t1 and v1 link through t1 Primary Key.&lt;br /&gt;&lt;br /&gt;When I select data from t1 and v1 in other SQL view and set it as Main&lt;br /&gt;data source in InfoPath I can&amp;#39;t submit data in t1.&lt;br /&gt;&lt;br /&gt;When I set t1 as Main data source I can&amp;#39;t attach data from v1&lt;br /&gt;(Secondary data source) to each row in repeating table. Field from v1&lt;br /&gt;displays value only from first row of v1, but not changes it for each&lt;br /&gt;row.&lt;/p&gt;</description></item></channel></rss>