<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Insert new line in Repeating table should copy 1 fields value from Top Row</title><link>https://www.infopathdev.com:443/forums/thread/120027.aspx</link><pubDate>Fri, 02 Nov 2018 22:36:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120027</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120027.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120027</wfw:commentRss><description>Sure, I understood your description. It just isn&amp;#39;t something I&amp;#39;ve ever implemented, thus I don&amp;#39;t have an answer for you on how to implement it.</description></item><item><title>Re: Insert new line in Repeating table should copy 1 fields value from Top Row</title><link>https://www.infopathdev.com:443/forums/thread/120026.aspx</link><pubDate>Fri, 02 Nov 2018 21:18:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120026</guid><dc:creator>mbhushan1605</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120026.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120026</wfw:commentRss><description>Okay Thank, Just to give you a short clue what exactly need to be done here.

On a SharePoint form from WebPart-1 Submit Button i have to set fields value of a field on WebPart-2</description></item><item><title>Re: Insert new line in Repeating table should copy 1 fields value from Top Row</title><link>https://www.infopathdev.com:443/forums/thread/120025.aspx</link><pubDate>Fri, 02 Nov 2018 21:07:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120025</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120025.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120025</wfw:commentRss><description>I don&amp;#39;t know of a way to do that. This blog post may give you some things to try? https://blogs.msdn.microsoft.com/infopath/2010/06/03/how-to-pass-querystring-data-into-an-infopath-form/</description></item><item><title>Re: Insert new line in Repeating table should copy 1 fields value from Top Row</title><link>https://www.infopathdev.com:443/forums/thread/120024.aspx</link><pubDate>Fri, 02 Nov 2018 21:02:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120024</guid><dc:creator>mbhushan1605</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120024.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120024</wfw:commentRss><description>Attached is ParentList form.</description></item><item><title>Re: Insert new line in Repeating table should copy 1 fields value from Top Row</title><link>https://www.infopathdev.com:443/forums/thread/120023.aspx</link><pubDate>Fri, 02 Nov 2018 21:00:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120023</guid><dc:creator>mbhushan1605</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120023.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120023</wfw:commentRss><description>Great Thanks  :)

As said i have 2 Lists i.e. ParentList and ChlidList for which i have 2 forms customized in InfoPath. One i have attached earlier i.e. ChildList form.
In SharePoint on ParentList form, ChlidList form is embaded as WebPart. (Please check 1st Screen shot which i shared earlier)

In ParentList form i add a Record and click on Submit button, where record gets added in ParentList.
Then on same form we have ChlidList form, where another button i.e. Set Risk ID. when user clicks it, it retrives latest max(ID) from ParentList and display it on last column of ChildList form.

So currently i submit Parent record first and then using &amp;#39;Set Risk ID&amp;#39; button i retrive latest Parent ID and set it in ChildList column. I want that when i click on Submit button it should add record in Parent List and also retrive latest ID from Parent and display it in ChlidList last column. So i want to remove &amp;#39;Set Risk ID&amp;#39;

Please note both the forms are different but embaded on single form where i add Parent List record first and then Child List record and its embaded using webPart.</description></item><item><title>Re: Insert new line in Repeating table should copy 1 fields value from Top Row</title><link>https://www.infopathdev.com:443/forums/thread/120022.aspx</link><pubDate>Fri, 02 Nov 2018 18:58:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120022</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120022.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120022</wfw:commentRss><description>Ask away - here is fine. :)</description></item><item><title>Re: Insert new line in Repeating table should copy 1 fields value from Top Row</title><link>https://www.infopathdev.com:443/forums/thread/120021.aspx</link><pubDate>Fri, 02 Nov 2018 18:53:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120021</guid><dc:creator>mbhushan1605</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120021.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120021</wfw:commentRss><description>Its perfect now !!
Thanks a lot for accurate solution  :)   Now field value getting copied correctly as expected  :)

With respect to this form i have one different query.  Can i ask it here or do i need to write it in new forum?</description></item><item><title>Re: Insert new line in Repeating table should copy 1 fields value from Top Row</title><link>https://www.infopathdev.com:443/forums/thread/120019.aspx</link><pubDate>Fri, 02 Nov 2018 16:26:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120019</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120019.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120019</wfw:commentRss><description>Have you tried: ../preceding-sibling::my:SharePointListItem_RW/my:Parent_x0020_Risk_x0020_ID for the default value?</description></item><item><title>Re: Insert new line in Repeating table should copy 1 fields value from Top Row</title><link>https://www.infopathdev.com:443/forums/thread/120018.aspx</link><pubDate>Fri, 02 Nov 2018 15:39:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120018</guid><dc:creator>mbhushan1605</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120018.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120018</wfw:commentRss><description>Hi
I have now attached actual .xsn file</description></item><item><title>Re: Insert new line in Repeating table should copy 1 fields value from Top Row</title><link>https://www.infopathdev.com:443/forums/thread/120017.aspx</link><pubDate>Fri, 02 Nov 2018 15:37:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120017</guid><dc:creator>mbhushan1605</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120017.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120017</wfw:commentRss><description>Please let me know How can i share it?</description></item><item><title>Re: Insert new line in Repeating table should copy 1 fields value from Top Row</title><link>https://www.infopathdev.com:443/forums/thread/120016.aspx</link><pubDate>Fri, 02 Nov 2018 14:50:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120016</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120016.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120016</wfw:commentRss><description>Could I see the actual form, not just a screenshot?</description></item><item><title>Re: Insert new line in Repeating table should copy 1 fields value from Top Row</title><link>https://www.infopathdev.com:443/forums/thread/120015.aspx</link><pubDate>Fri, 02 Nov 2018 13:01:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120015</guid><dc:creator>mbhushan1605</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120015.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120015</wfw:commentRss><description>Hi
Just an additional observation

When i try to use ../preceding-sibling::my:SharePointListItem_RW[5]/my:Parent Risk ID  -  I get Error as Expected value type: end-of-string
Wehn i try to use ../preceding-sibling::my:SharePointListItem_RW[5]/my:ID  -  I don&amp;#39;t get above error. 

Both are valid columns in my ChlidList. It means it gives me error if i use a column name having &amp;#39;Space&amp;#39;. 

I hope i could explain my main requirement clearly now that  on my form i have Repeating Table for ChlidList where in &amp;#39;Parent Risk ID&amp;#39; column i populate a value from my ParentList last Record. So now when i add new row in Repeating table, it should copy same value of &amp;#39;Parent Risk ID&amp;#39; from 1st Row. 

Solution either using above command of Preceding-sibling or any other way will be appreciated.</description></item><item><title>Re: Insert new line in Repeating table should copy 1 fields value from Top Row</title><link>https://www.infopathdev.com:443/forums/thread/120014.aspx</link><pubDate>Fri, 02 Nov 2018 09:00:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120014</guid><dc:creator>mbhushan1605</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120014.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120014</wfw:commentRss><description>Thanks 
Form screen shot is attached now. I have highlighted the Parent Part of form and Child Form. Also i have captrued it when 1st row is with data where ID field has value. So when i insert 2nd row in table, i expect that last ID column should be auto populated using 1st row&amp;#39;s value.</description></item><item><title>Re: Insert new line in Repeating table should copy 1 fields value from Top Row</title><link>https://www.infopathdev.com:443/forums/thread/120009.aspx</link><pubDate>Thu, 01 Nov 2018 19:48:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120009</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120009.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120009</wfw:commentRss><description>May I see a copy of your form? You can attach it under the Options tab in a reply.</description></item><item><title>Insert new line in Repeating table should copy 1 fields value from Top Row</title><link>https://www.infopathdev.com:443/forums/thread/120007.aspx</link><pubDate>Thu, 01 Nov 2018 11:18:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120007</guid><dc:creator>mbhushan1605</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120007.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120007</wfw:commentRss><description>All, I appreciate your support in advance
I have 2 Lists in SharePoint e.g. A ParentList and a ChildList. ChildList is connected to ParentList using a Lookup Field. 
I have customized NewItem form of ParentList in InfoPath, which is Main data connection. Secondary Data source is added to form which is ChlidList.
So on form user can submit record in ParentList using Submit Parent Button, after submit same process retrieves latest ID from ParentList and displays it in &amp;#39;a column&amp;#39; of &amp;#39;1st row&amp;#39; of ChildList Repeating table.  

Issue is when I insert next row(s) i want the ID value which displayed on 1st Row of Repeating table should be copied in 2nd row for same column. To achieve this i tried to use below but it gives me error.

../preceding-sibling::my:SharePointListItem_RW[5]/my:Parent Risk ID   - (Parent Risk ID is Lookup column in ChlidList where i display ID value of ParentList)

Error as below
      Expected value type: end-of-string
      Actual value: name
      ../preceding-sibling::mySharePointListItem_RW[5]/my:Parent--&amp;gt;Risk</description></item></channel></rss>