Repeating Table copy previous record - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Repeating Table copy previous record

Last post 08-23-2016 02:54 PM by TracyK. 35 replies.
Page 3 of 3 (36 items) < Previous 1 2 3
Sort Posts: Previous Next
  • 07-19-2012 10:48 AM In reply to

    Re: Repeating Table copy previous record

    Can you also post a screenshot showing what you are describing? I'm having a little trouble following your description. Just attach a picture file under the options tab.

    Thanks!

    Hilary Stoupa

  • 07-19-2012 11:14 AM In reply to

    Re: Repeating Table copy previous record

    In advance thank you.  1st row Ok, 2nd row Ok, 3rd row I update Project and Project Size (these are Drop-down List Box controls), I complete the data entry and then perform the Insert.  The results are that on the 4th row the Project and Project Size do not carry-over the updated values (BCC... & Large...) from the 3rd row, it seems to pull the values from the first row for Project and Project Size. 
  • 07-20-2012 11:20 AM In reply to

    Re: Repeating Table copy previous record

    It was the XPath you'd used - it was absolute instead of relative:

    /dfs:myFields/dfs:dataFields/my:SharePointListItem_RW[1]/my:Project

    The above will always get the first item. From the field you were on (Project)

    ../preceding-sibling::my:SharePointListItem_RW[1]/my:Project

    will get you the one above.

    I've attached your form with this change.

    Hilary Stoupa

  • 07-23-2012 09:56 AM In reply to

    Re: Repeating Table copy previous record

    Hilary , thanks so very much for all the help, my IP form is working properly.  I can't express enough how valuable your assistance was to me and I learned a few things.

  • 07-23-2012 10:07 AM In reply to

    Re: Repeating Table copy previous record

    Wonderful, thanks for letting me know everything is working the way you need it to.

    Hilary Stoupa

  • 08-23-2016 02:54 PM In reply to

    • TracyK
    • Not Ranked
    • Joined on 07-27-2015
    • Posts 4

    Re: Repeating Table copy previous record

     I'm stuck trying to copy previous row with rule on button click.  I can copy 1 row of data but I can't copy row 2 to row 3 I can only get row 1 data.  I'm trying to use preceding-sibling:: but it keeps telling my formula is wrong. 

    InfoPath field XPath copy = /my:myFields/my:JV/my:JVDetails/my:SDN 

    Syntax I'm try to use but failed :-( 

    preceding-sibling::/my:myFields/my:JV/my:JVDetails/my:SDN

     

    Please help...

Page 3 of 3 (36 items) < Previous 1 2 3
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.