Update items in the Repeating table - InfoPath Dev
in

InfoPath Dev

Update items in the Repeating table

Last post 06-22-2008 06:15 PM by Eleanore. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-29-2008 10:25 PM

    Update items in the Repeating table

    Hi all,

    I have a little trouble with Repeating table.

    There is a repeating table have 3 columns(A,B and C),

    Column A is the row number, and I want to change the C's content to "OK" when i clicking the button, It isn't change all of C's content , and only which items B is "1".

    For example, my repeat table's content is as follow, and when i clicking the button, only change the second items "null" to "OK".

    A   B   C

    1   0   null

    2   1   null

    3   0   null

    Do you know how to do that without coding?I am not very sure whether it is possible.Thanks in advance.

     

    Best Regards

    Eleanore
     

  • 06-21-2008 12:27 AM In reply to

    Re: Update items in the Repeating table

    Hello,

    First set the rule on Button so that the column ‘C(field3)’ value set to ‘OK’ when column ‘B(field2)’ equals to ‘1’.  The result will be ‘OK’ for all values of column ‘C’ when button is clicked regardless the value of ‘B’.

    Go to file menu and select Save as source files. Open the manifest.xsf from source files with the notepad and search for the rule name that you set.  Under that node you will find ‘assignmentAction’ node.

    Replace the X-path for that node with

    targetField="my:group1/my:group2[my:field2 = 1]/my:field3" .

     

  • 06-22-2008 06:15 PM In reply to

    Re: Update items in the Repeating table

    Hi santhoshp,

    It is work well, I really appreciate your help.

    Thank you very much.

     

    Best Regards

    Eleanore 

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