Auto Incremented Box + Textbox & AfterChange - InfoPath Dev
in

InfoPath Dev

Auto Incremented Box + Textbox & AfterChange

Last post 12-27-2007 06:16 AM by Clay Fox. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-27-2007 04:41 AM

    Auto Incremented Box + Textbox & AfterChange

    I have a repeating table with two columns: a auto incremented box (idRow) and a textbox.

    when the text in the text box is changed, I need to know from what row this change originated (looking to idRow).

     


    I need to use this with AfterChange, but it´s not working...
    When the new row is created, the AfterChange returns the correct idRow value, but when the text is changed the "1" is returned (always return the first row ID)

     

    If I use a button in each row instead of the AfterChange, this work.

     

    I have tried:

    eventObj.Site.selectNodes("preceding-sibling::my:HorasSaldo").length

    eventObj.Site.selectSingleNode("//my:IdRox").text

    eventObj.Source.selectNodes("preceding-sibling::my:HorasSaldo").length

    eventObj.Source.selectSingleNode("//my:IdRox").text

     


    Any ideia?

     

  • 12-27-2007 06:16 AM In reply to

    Re: Auto Incremented Box + Textbox & AfterChange

    You should research the current() function here on InfoPathdev.

     There are many examples.

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