Changed Item in a repeated table - InfoPath Dev
in

InfoPath Dev

Changed Item in a repeated table

Last post 07-08-2005 06:30 AM by ScottAtRVC. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-08-2005 02:37 AM

    • sewid
    • Not Ranked
    • Joined on 07-06-2005
    • Posts 17

    Changed Item in a repeated table

    Hi there,

    i have a repeated table with 2 textboxes. Textbox1: Name, Textbox2: Task1.

    Now I receive an XML-File with 5 Rows:
    Name1 - Task1
    Name2 - Task2
    Name3 - Task3
    Name4 - Task4
    Name5 - Task5

    Then, I want to change Name3 to Name6 and Task4 to Task7. Is there a possibility to let InfoPath recognize, which of the values has changed, so that it can say to me: Name3 has been replaced by Name6 and Task4 has been replaced by Task7.

    I hope, you understand my problem ;)

    Best regards,
    sewid
  • 07-08-2005 06:30 AM In reply to

    Re: Changed Item in a repeated table

    Hi.

    If i understand you correctly, the repeating table has an OnAfterChange event. Right click the properties of the RepeatingTable within the DataSource window and click on the Validation and Event handlers tab.

    The DataDOMEvent e, parameter provided to the OnAfterEvent handler will provide you with e.OldValue and e.NewValue.

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