<?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 group question</title><link>https://www.infopathdev.com:443/forums/thread/61993.aspx</link><pubDate>Tue, 07 Dec 2010 10:57:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61993</guid><dc:creator>Zappke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61993.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61993</wfw:commentRss><description>&lt;p&gt;Think I found a solution to my problem:&lt;/p&gt;
&lt;p&gt;When I click my calculate-button, I put my input fields in temporary variables outside the repeating group.&amp;nbsp; In my data-connection, I use the value of these temporary fields.&lt;/p&gt;
&lt;p&gt;Seems to work fine (for now, further testing required, obviously)&lt;/p&gt;</description></item><item><title>Re: Repeating group question</title><link>https://www.infopathdev.com:443/forums/thread/61880.aspx</link><pubDate>Thu, 02 Dec 2010 09:32:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61880</guid><dc:creator>Zappke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61880.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61880</wfw:commentRss><description>&lt;p&gt;Attached the infopath form...&lt;/p&gt;</description></item><item><title>Re: Repeating group question</title><link>https://www.infopathdev.com:443/forums/thread/61844.aspx</link><pubDate>Wed, 01 Dec 2010 15:57:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61844</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61844.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61844</wfw:commentRss><description>&lt;p&gt;Hi Zappke,&lt;/p&gt;
&lt;p&gt;Because of the complexity of your question, I recommend a live meeting to walk through your form and demonstrate the technique. the other option would be to have you attach your XSN to the forum and we could look at it. If you&amp;#39;d like to do this, check out Qdabra&amp;#39;s Support page. We provide an InfoPath 9-1-1 service and we could probably resolve your issue in 30-60 minutes. Bottom line: we need to look at your main data source and form to give you the specific advice you need. But, the good news is that this is possible without code.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m going offline now. Send email to QSales (at) Qdabra (dot) com if you are interested.&lt;/p&gt;</description></item><item><title>Re: Repeating group question</title><link>https://www.infopathdev.com:443/forums/thread/61839.aspx</link><pubDate>Wed, 01 Dec 2010 15:25:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61839</guid><dc:creator>Zappke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61839.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61839</wfw:commentRss><description>&lt;p&gt;Well, that seems to be the problem: I think I have a pretty good idea *what* to change/test/try, but I have no idea *how* I can change it :)&lt;/p&gt;
&lt;p&gt;Where am I doing it currently?  In my SetDate data connection.  It submits data to my opened excel workbook (opened in a previous step of my rules) using the _vti_bin/excelservice.asmx, function SetCellA1, the parameters sessionID, sheetName and rangeName is no problem.  But the parameter tns:cellValue (which should be my input-value!) is set to /my:expenseReport/my:items/my:item/my:date, where &amp;quot;my:item&amp;quot; is my repeating group.&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t change or edit this value in the UI anywhere...  The textbox where the XPath value is shown, is read only...&lt;/p&gt;</description></item><item><title>Re: Repeating group question</title><link>https://www.infopathdev.com:443/forums/thread/61835.aspx</link><pubDate>Wed, 01 Dec 2010 14:21:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61835</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61835.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61835</wfw:commentRss><description>&lt;p&gt;When you set the input fields, I&amp;#39;m assuming you are setting fields in a different row in your repeating table/section. To set the correct values you have to use xpath with the count of the table (if you are setting the last item) or the index to the item that you want to set. Are you specifying that when you do the set field in the rule? If not, you will need to add the xpath filter there. Let us know if you need help. We&amp;#39;ll probably need to see your form.&lt;/p&gt;</description></item><item><title>Re: Repeating group question</title><link>https://www.infopathdev.com:443/forums/thread/61833.aspx</link><pubDate>Wed, 01 Dec 2010 12:58:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61833</guid><dc:creator>Zappke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61833.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61833</wfw:commentRss><description>&lt;p&gt;Well, the example in my precious post was pretty much how the form is set up:&lt;/p&gt;
&lt;p&gt;I have 3 inputfields: date, starttime, endtime,&lt;/p&gt;
&lt;p&gt;I have a couple output fields: total minutes, minutes 20.00-07.00, and so on (a total of 5 fields I think)&lt;/p&gt;
&lt;p&gt;Then I have a button: if I click the button, the inputfields are sent to an excel (with the _vti_bin/excelservice.asmx) and the results I get from the excel I put in my 5 result fields.&lt;/p&gt;
&lt;p&gt;So for the outputfields I set sessionId, sheetName and rangeName, I query the dataconnection and set the field on my form equal to GetCellA1Result.&lt;/p&gt;
&lt;p&gt;For the inputfields, I also set sessionId, sheetName and rangeName, and I add cellValue to that (my actual date, starttime or endtime)&lt;/p&gt;
&lt;/p&gt;
&lt;p&gt;So, Like I mentioned in my earlier post, I figured I had to change something in my input-fields, but I can&amp;#39;t figure out exactly where (or how)&lt;/p&gt;
&lt;/p&gt;
&lt;p&gt;Hope this explanation helps?&lt;/p&gt;</description></item><item><title>Re: Repeating group question</title><link>https://www.infopathdev.com:443/forums/thread/61788.aspx</link><pubDate>Tue, 30 Nov 2010 16:14:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61788</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61788.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61788</wfw:commentRss><description>&lt;p&gt;Is your repeating group bound to a secondary data source?&lt;/p&gt;</description></item><item><title>Re: Repeating group question</title><link>https://www.infopathdev.com:443/forums/thread/61784.aspx</link><pubDate>Tue, 30 Nov 2010 13:03:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61784</guid><dc:creator>Zappke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61784.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61784</wfw:commentRss><description>(For some reason, replying to a post results in a messed up text...  Sorry bout that, can&amp;#39;t seem to find a solution for that either.)

So, I looked around a bit, what happened.  Here&amp;#39;s a little scenario I tested:

1/ I entered a date in row 1, clicked my calculate-button and got the correct result.
2/ I entered a date in row 2, clicked my button again, but got the same result as in row 1.  OK, to be expected.  Fine.
3/ I entered a different date in row 1, clicked the button on row 3 and got the result in row 3 which I would expect from a calculation with the date I freshly entered in row 1.

Fine.  Incorrect, but fine.

So I started thinking where I should change the XPath and I always seem to come back to the data connection wizard, in my &amp;quot;SetDate&amp;quot; connection.  I work with an excel web service, and at a certain moment I have to enter &amp;quot;tns:cellValue&amp;quot;, where I think I should put your &amp;quot;current()&amp;quot;.
Fine, but the thing is, I can&amp;#39;t seem to edit the XPath-value InfoPath gives me.  It shows me the value in a read-only textbox.

So, where should I change the XPath?</description></item><item><title>Re: Repeating group question</title><link>https://www.infopathdev.com:443/forums/thread/61724.aspx</link><pubDate>Mon, 29 Nov 2010 14:37:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61724</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61724.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61724</wfw:commentRss><description>&lt;p&gt;Hi Zappke,&lt;/p&gt;
&lt;p&gt;This is a common problem when dealing with repeating groups. You need to send the correct fields and your xpath is not correct. Search the forum for current(), preceding-sibling, etc. Or, go to Greg&amp;#39;s blogs&amp;nbsp;and search for&amp;nbsp;the repeating table examples,&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Repeating group question</title><link>https://www.infopathdev.com:443/forums/thread/61720.aspx</link><pubDate>Mon, 29 Nov 2010 14:10:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61720</guid><dc:creator>Zappke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61720.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61720</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a form where I fill in a begin-time, an end-time and then when I click a button, some calculations are made in excel.&amp;nbsp; The results are shown on my form.&amp;nbsp; Works fine.&lt;/p&gt;
&lt;p&gt;This whole setup is in a repeating group.&amp;nbsp; When I click &amp;quot;Add new item&amp;quot;, I fill out my begin and end times, I click the button but now the results of my first row are shown in the second (or any subsequent) row.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyone got a fix for this problem?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>