<?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: Expression box in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/8941.aspx</link><pubDate>Thu, 16 Feb 2006 15:12:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8941</guid><dc:creator>martintheace</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8941.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8941</wfw:commentRss><description>All,&lt;br /&gt;&lt;br /&gt;In order to make this work I had to use the current() function.&lt;br /&gt;Here is the xpath.&lt;br /&gt;&lt;br /&gt;xdXDocument:GetDOM("im")/im/item/description[../id = current()/Component]&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Marty Mortenson</description></item><item><title>Re: Expression box in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/8940.aspx</link><pubDate>Tue, 07 Feb 2006 17:53:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8940</guid><dc:creator>martintheace</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8940.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8940</wfw:commentRss><description>Matt,&lt;br /&gt;&lt;br /&gt;I looked at the tutorial, and that seems to be the answer to my question.  Will I have to add a number field to my webservice to generate the autonumber?  Next question, to capture the row number will I use the number() function.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Marty Mortenson</description></item><item><title>Re: Expression box in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/8939.aspx</link><pubDate>Tue, 07 Feb 2006 03:53:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8939</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8939.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8939</wfw:commentRss><description>Ah, I see what you're trying to do.  This can be tricky sometimes.&lt;br /&gt;&lt;br /&gt;I suggest applying this tutorial to add a id number to your row: &lt;br /&lt;a target="_blank" href=http://infopathdev.com/howto/tutorials/default.aspx?i=d663d7df90e94e65abb02632966e8127&gt;http://infopathdev.com/howto/tutorials/default.aspx?i=d663d7df90e94e65abb02632966e8127&lt;/a&gt; &lt;br /&gt;and then use the number from that field instead of the position() function.&lt;br /&gt;&lt;br /&gt;I hope this works, please let us know if you figure it out.&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;InfoPath Dev Texas&lt;br /&gt;</description></item><item><title>Re: Expression box in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/8938.aspx</link><pubDate>Mon, 06 Feb 2006 17:54:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8938</guid><dc:creator>martintheace</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8938.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8938</wfw:commentRss><description>Matt&lt;br /&gt;&lt;br /&gt;Here is the xpath statement in the expression box&lt;br /&gt;&lt;br /&gt;xdXDocument:GetDOM("Description")/ns1:myFields/ns1:Comp/ns1:Desc[../ns1:comp_part=xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/tns:GetItemProfileResponse/tns:GetItemProfileResult/NewDataSet/rootTD_C_ITEM_PROFILE/TD_C_ITEM_PROFILE/ITEM_PROFILE_Ps[position()]/Component]&lt;br /&gt;&lt;br /&gt;Thanks &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Marty Mortenson</description></item><item><title>Re: Expression box in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/8937.aspx</link><pubDate>Wed, 01 Feb 2006 17:24:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8937</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8937.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8937</wfw:commentRss><description>Could you paste the XPath you have for the expression box?&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;InfoPath Dev Texas&lt;br /&gt;</description></item><item><title>Expression box in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/5314.aspx</link><pubDate>Wed, 01 Feb 2006 15:24:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5314</guid><dc:creator>martintheace</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5314.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5314</wfw:commentRss><description>I have a repeating table that is populated from a web service.  This table contains Product Structure information about a parent part number.  Inside of this table I want to capture the description  of each component part in an expression box.  I am doing this by using a XML file as a  secondary data source.  I have comparisons and filters in place to match up the component number to a comparable part number and description in the XML file.  My problem is the expression box will capture the first description of the component.  It will then display that description in every expression box in the repeating table.  I want the expression boxes to have the descriptions of the related component number.  How can this be done?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Marty Mortenson</description></item></channel></rss>