Update a row in a repeating table - InfoPath Dev
in

InfoPath Dev

Update a row in a repeating table

Last post 05-08-2012 06:27 AM by Jimmy. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-08-2012 05:37 AM

    Update a row in a repeating table

    I have a repeating table with 3 columns.
    Ex: Field1,Field2,and Field3

    If user changes the value in the Field1 I want to update the Field3 value as Today date.

    In the OnAfterChange event I used

        e.Source.selectSingleNode("Field3").text = DateTime.Today.ToString();

     But it getting me a null reference.

    Can anybody suggest a better idea to achieve the above task. 

    Thanks

  • 05-08-2012 06:27 AM In reply to

    Re: Update a row in a repeating table

    I'm guessing it would be something more like "../my:Field3" and not just "Field3", but why not just use an ordinary rule to do this?
    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.